> CVE-2026-39807 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-05-01 21:16
MODIFIED
2026-05-01 21:16
CVSS_SCORE V3
6.3
EPSS (Prob. Exploit)
0.53%
Top 54.8%
DATA SOURCES:
NVD đź”— 2026-05-01 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-08 GITHUB đź”— 2026-11-05 OSV đź”— 2026-11-02

> DESCRIPTION

Reliance on Untrusted Inputs in a Security Decision vulnerability in mtrudel bandit allows unauthenticated transport-state spoofing on plaintext HTTP connections. 'Elixir.Bandit.Pipeline':determine_scheme/2 in lib/bandit/pipeline.ex returns the client-supplied URI scheme verbatim, ignoring the transport's secure? flag. HTTP/1.1 absolute-form request targets (e.g. GET https://victim/path HTTP/1.1) and the HTTP/2 :scheme pseudo-header are both attacker-controlled strings that flow through this function. Over a plaintext TCP connection, a client can declare https and Bandit will set conn.scheme = :https even though no TLS was negotiated. Downstream Plug consumers that branch on conn.scheme are silently misled: Plug.SSL's already-secure branch skips its HTTP→HTTPS redirect, cookies emitted with secure: true are sent over plaintext, audit logs record requests as having arrived over HTTPS, and CSRF/SameSite gating may make incorrect decisions. This issue affects bandit: from 1.0.0 before 1.11.0.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-807

> CWE DETAILED DESCRIPTIONS

CWE-807: Reliance on Untrusted Inputs in a Security Decision - The product uses a protection mechanism that relies on the existence or values of an input, but the input can be modified by an untrusted actor in a way that bypasses the protection mechanism.

> GITHUB SECURITY ADVISORY

GHSA-375f-4r2h-f99j MODERATE

Bandit trusts client-supplied URI scheme on plaintext connections

AFFECTED PACKAGES:
ERLANG / bandit
>= 1.0.0, < 1.11.0
Fixed in: 1.11.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Client-supplied URI scheme trusted without transport verification in bandit

AFFECTED PACKAGES:
Unknown / Unknown
39 versions affected
ALIASES:
EEF-CVE-2026-39807, GHSA-375f-4r2h-f99j

> HISTORIQUE DES MODIFICATIONS

Première apparition
01/05/2026 21:16
Source: NVD
📊 ENRICHISSEMENT 01/06/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-807: Reliance on Untrusted Inputs in a Security Decision - The product uses a protection mechanism that relies on the existence or values of an input, but the input can be modified by an untrusted...
Total des modifications: 1 Dernière mise à jour: 5 months ago

> REFERENCES

https://cna.erlef.org/cves/CVE-2026-39807.html
https://github.com/mtrudel/bandit/commit/45feea20dea8af7ffd7245271107b695c040e66...
https://github.com/mtrudel/bandit/security/advisories/GHSA-375f-4r2h-f99j
https://osv.dev/vulnerability/EEF-CVE-2026-39807
« BACK_TO_HOME