Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-39807

published medium CVSS 4.0 · 6.3

Client-supplied URI scheme trusted without transport verification in bandit

Published
01 May 2026, 20:34:22 UTC
Updated
20 Nov 2026, 04:16:01 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
mtrudel — bandit1.0.0-pre.6 to < 1.11.0 · Other versions: unaffected Affected Not stated EEF
mtrudel — mtrudel/banditbandit · ff2f829326cd5dcf7335939aef9775269d881e28 to < 45feea20dea8af7ffd7245271107b695c040e667 · Other versions: unaffected Affected Not stated EEF

Description

Reliance on Untrusted Inputs in a Security Decision vulnerability in mtrudel bandit allows unauthenticated transport-state spoofing on plaintext HTTP connections. 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-pre.6 before 1.11.0.

en · EEF · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
6.3 / 10
Severity
medium
Provider
EEF · cna
Vector string
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
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
mtrudel bandit 1.0.0-pre.6 to < 1.11.0 (affected · semver)Default: unaffected EEF · cna
mtrudel bandit ff2f829326cd5dcf7335939aef9775269d881e28 to < 45feea20dea8af7ffd7245271107b695c040e667 (affected · git)Default: unaffected EEF · cna

Weaknesses

1
  • CWE-807 CWE-807 Reliance on Untrusted Inputs in a Security Decision (EEF · cna)

References

5

Provider assertions

2

EEF · cna

Client-supplied URI scheme trusted without transport verification in bandit

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
002534b2a6d0c675de06cd740e22744d6e1a3b005b74ca4c996b1b8805ce4f3b
Ingested
20 Nov 2026, 04:23:26 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected