CVE-2026-39807
Last modified
CVE-2026-39807 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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. EPSS estimates a 0.45% chance of exploitation in the next 30 days.
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.
Metrics
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
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-39807?
How severe is CVE-2026-39807?
How do I fix CVE-2026-39807?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-3979A flaw has been found in quickjs-ng quickjs up to 0.12.1. Th…5.3
- CVE-2026-3980A vulnerability has been found in itsourcecode Online Doctor…9.8
- CVE-2026-39803Allocation of Resources Without Limits or Throttling vulnera…7.5
- CVE-2026-39804Allocation of Resources Without Limits or Throttling vulnera…8.2
- CVE-2026-39805Inconsistent Interpretation of HTTP Requests vulnerability i…6.3
- CVE-2026-39806Loop with Unreachable Exit Condition ('Infinite Loop') vulne…7.5
- CVE-2026-39808A improper neutralization of special elements used in an os …9.8
- CVE-2026-39809A improper neutralization of special elements used in an sql…6.7
- CVE-2026-3981A vulnerability was found in itsourcecode Online Doctor Appo…9.8
- CVE-2026-39810A use of hard-coded cryptographic key vulnerability in Forti…5.5
- CVE-2026-39811A integer overflow or wraparound vulnerability in Fortinet F…4.9
- CVE-2026-39812A improper neutralization of input during web page generatio…4.8
Are you affected by CVE-2026-39807?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
