Vulnerability · CVE-2026-105660
Unvalidated HTTP/1 request-target authority lets a client choose conn.host and conn.port in Bandit
Published Oct 15, 2026 · catalog updated Oct 15, 2026 · Unvalidated HTTP/1 request-target authority
Check if you run it
No confirmed exploitation is on record for CVE-2026-105660. EPSS is 0.48%. Act only if a listed version of Unvalidated HTTP/1 request-target authority is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (Unvalidated HTTP/1 request-target authority).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium6.9
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.48%
- Remediation
- Advisory link
- Affected products
- Hex bandit
## Summary Improper Validation of Syntactic Correctness of Input vulnerability in mtrudel bandit allows an unauthenticated remote attacker to set and 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 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 in passes it to the application unchecked. A request line such as with a valid header yields a of , 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 header at all, and places the unparsed port string in . Applications that build absolute URLs from , such as through or Phoenix URL helpers, emit links whose authority the attacker chose. Message framing is unaffected, and no CR or LF can reach . This issue affects bandit: from 0.6.0 before 1.13.0. ## Details **1. Request-target parsing** ( ) returns an absolute-form target as and an authority-form ( ) target as . unwraps both into a tuple and forwards and as received. only rejects bytes at or below and , so userinfo, delimiters, backslashes, bytes to , invalid IP literals and out-of-range ports pass. For , is the unparsed text after the first colon. **2. Host selection** ( ) has three clauses. The HTTP/1.1 clause calls , which parses the header with and raises a 400 on a malformed value, and then discards that result whenever is set, returning and instead. The fallback clause used for HTTP/1.0 and for returns the target host and port directly and never consults the header. The precedence itself follows RFC 9112 section 3.2.2; the defect is that the value which wins is the one never validated. **3. Effect** places the pair into the from which builds and . The application therefore sees host values Bandit rejects on every other route into the same field, and for a binary where promises an integer
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Hex bandit0.6.0 → 1.13.0
How to fix CVE-2026-105660
Recommended remediation
A patch or advisory reference is linked. Open the original publisher for availability by product version.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2026-105660. EPSS is 0.48%. Act only if a listed version of Unvalidated HTTP/1 request-target authority is installed.
Which versions are affected?
Compare what you have installed with 0.6.0 → 1.13.0. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-1286. EPSS 0.48%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Oct 15, 2026 · GitHub Advisory Database
Fix available
bandit fixed in 1.13.0
Oct 15, 2026 · NIST NVD
Detected
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 aut
Oct 15, 2026 · GitHub Advisory Database
Fix available
bandit fixed in 1.13.0
Sources
- CVE.orgVulnerability recordCVE-2026-105660
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2026-105660
30-day exploitation probability 0.5%
first.org - GitHub Advisory DatabasePackage advisoryGHSA-v53v-9hvg-37jf
GitHub Advisory Database record mirrored by OSV.
github.com - NIST NVDVulnerability recordCVE-2026-105660
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
nvd.nist.gov - OpenSSF OSV / OSV ScannerPackage advisoryEEF-CVE-2026-105660
Unvalidated HTTP/1 request-target authority lets a client choose conn.host and conn.port in Bandit
osv.dev
References
Freshness
Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.