Skip to main content
VulnerabilityPublished Updated

CVE-2026-39807: mtrudel bandit · Reliance on Untrusted Inputs in a Security Decision

Affects mtrudel banditSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
mtrudelbanditAffected
  • >=1.0.0 <1.11.0
Fixed in
  • 1.11.0
mtrudelbanditAffected
  • ≥ ff2f829326cd5dcf7335939aef9775269d881e28, < 45feea20dea8af7ffd7245271107b695c040e667
Fixed in
  • 45feea20dea8af7ffd7245271107b695c040e667
Hexbanditpkg:hex/banditOther threatsAffected
  • =1.0.0
Fixed in–
Hexbanditpkg:hex/banditOther threatsAffected
  • >=1.0.0 <1.11.0
Fixed in
  • 1.11.0

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

Community reviews

Loading reviews…