CVE-2026-39807: mtrudel bandit · Reliance on Untrusted Inputs in a Security Decision
Affects mtrudel banditSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium : upgrade to 1.11.0 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.11.0, 45feea20dea8af7ffd7245271107b695c040e667
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade bandit to 1.11.0; bandit to 45feea20dea8af7ffd7245271107b695c040e667.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mtrudelbandit | Affected
| Fixed in
|
| mtrudelbandit | Affected
| Fixed in
|
Hexbanditpkg:hex/banditOther threats | Affected
| Fixed in– |
Hexbanditpkg:hex/banditOther threats | Affected
| Fixed in
|
CPE configurations (1)
cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should avoid relying solely on conn.scheme for security decisions on plaintext HTTP connections. Consider additional validation of transport security outside of client-supplied scheme values or enforce TLS to prevent plaintext connections.
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.
References
- github.com/mtrudel/bandit/security/advisories/GHSA-375f-4r2h-f99j (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-39807.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-39807 (opens in a new tab)
- github.com/mtrudel/bandit/commit/45feea20dea8af7ffd7245271107b695c040e667 (opens in a new tab)