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-105660

published medium CVSS 4.0 · 6.9

Unvalidated HTTP/1 request-target authority lets a client choose conn.host and conn.port in Bandit

Published
15 Oct 2026, 18:37:02 UTC
Updated
19 Nov 2026, 08:14:21 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
mtrudel — bandit0.6.0 to < 1.13.0 · Other versions: unaffected Affected Not stated EEF
mtrudel — mtrudel/banditbandit · 0e3edda0edf6322e9164b827c6d3ddecd080ff2e to < 6ea80210137b3f69caf65f67398934259dc365d0 · Other versions: unaffected Affected Not stated EEF

Description

Improper Validation of Syntactic Correctness of Input vulnerability in mtrudel bandit allows an unauthenticated remote attacker to set conn.host and conn.port to values outside the RFC 3986 host grammar via the authority of an HTTP/1 absolute-form or authority-form request target. Bandit validates the Host header and answers 400 when it is malformed, but when the request target carries its own authority that authority takes precedence, as RFC 9112 requires, and Bandit.Pipeline.determine_host_and_port!/4 in lib/bandit/pipeline.ex passes it to the application unchecked. A request line such as GET http://[email protected]/x HTTP/1.1 with a valid Host header yields a conn.host of [email protected], and the same path admits NUL, DEL and non-ASCII bytes, invalid IP literals and ports outside 1..65535. The HTTP/1.0 clause needs no Host header at all, and CONNECT places the unparsed port string in conn.port. Applications that build absolute URLs from conn.host, such as through Plug.Conn.request_url/1 or Phoenix URL helpers, emit links whose authority the attacker chose. Message framing is unaffected, and no CR or LF can reach conn.host. This issue affects bandit: from 0.6.0 before 1.13.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.9 / 10
Severity
medium
Provider
EEF · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/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 0.6.0 to < 1.13.0 (affected · semver)Default: unaffected EEF · cna
mtrudel bandit 0e3edda0edf6322e9164b827c6d3ddecd080ff2e to < 6ea80210137b3f69caf65f67398934259dc365d0 (affected · git)Default: unaffected EEF · cna

Weaknesses

1
  • CWE-1286 CWE-1286 Improper Validation of Syntactic Correctness of Input (EEF · cna)

References

5

Provider assertions

2

EEF · cna

Unvalidated HTTP/1 request-target authority lets a client choose conn.host and conn.port in Bandit

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
49e4fea4004dee1ddc6215916ca8a3b66f99cea7d26fa4debe6689fb22f3e784
Ingested
19 Nov 2026, 08:22:50 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