Home / mtrudel / bandit / CVE-2026-105660
CVE-2026-105660: is it exploited, and which versions of mtrudel bandit are affected and fixed?
CVE-2026-105660 is an improper Validation of Syntactic Correctness of Input vulnerability in mtrudel bandit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: bandit from 0.6.0 before 1.13.0 (CVE record by EEF). Fixed in 1.13.0 (CVE record by EEF). Severity: Medium (6.9, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 08:24 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-105660?
Unvalidated HTTP/1 request-target authority lets a client choose conn.host and conn.port in Bandit
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.
From the CVE record by EEF, last updated November 19, 2026, 08:14 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| mtrudel | bandit | from 0.6.0 before 1.13.0 | 1.13.0 |
| mtrudel | bandit mtrudel/bandit | not stated |
As the CVE record by EEF states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-105660?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | 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 | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-105660 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, October 16, 2026)
- EPSS
- 0.48% probability of exploitation activity in the next 30 days, percentile 43.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1286 Improper Validation of Syntactic Correctness of Input
Is there a workaround? (from the CVE record)
Add a plug ahead of any code that reads conn.host or conn.port that compares conn.host against an allow-list of the hostnames the application serves, checks that conn.port is an integer, and halts the request with a 400 response otherwise. Do not derive absolute URLs from conn.host until that check has passed.
Where are the vendor advisories and references?
- GitHub Advisory related, vendor-advisory
- EEF CNA record for CVE-2026-105660 related
- OSV record EEF-CVE-2026-105660 related
- Introducing commit 0e3edda in mtrudel/bandit related
- Fix commit 6ea8021 in mtrudel/bandit patch
Who found and reported it?
- Eurico Nicacio (finder)
- Eurico Nicacio (reporter)
- Jonatan Männchen / EEF (coordinator)
- Mat Trudel (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 10, 2026
- Published
- October 15, 2026, 18:37 UTC
- CVE record updated
- November 19, 2026, 08:14 UTC by EEF
- NVD
- Deferred, last modified October 16, 2026, 21:17 UTC
- Last checked
- CVE list November 19, 2026, 08:24 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect bandit?
- Oct 28, 2026CVE-2026-116078 mtrudel bandit: denial of service (resources allocated without limits)
- Oct 26, 2026CVE-2026-108529 mtrudel bandit: denial of service through slow algorithm
- Oct 26, 2026CVE-2026-110499 mtrudel bandit: denial of service (resources allocated without limits)
- Oct 26, 2026CVE-2026-109584 mtrudel bandit: improper Handling of Highly Compressed Data (Data Amplification)
- Oct 26, 2026CVE-2026-111103 mtrudel bandit: improper Cleanup on Thrown Exception
- Oct 26, 2026CVE-2026-111101 mtrudel bandit: denial of service (resources allocated without limits)
- Oct 26, 2026CVE-2026-113436 mtrudel bandit: denial of service through slow algorithm
- Oct 26, 2026CVE-2026-110314 mtrudel bandit: client-Side Enforcement of Server-Side Security
Questions about CVE-2026-105660
Is CVE-2026-105660 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.48% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of mtrudel bandit are affected by CVE-2026-105660?
bandit from 0.6.0 before 1.13.0, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-105660?
1.13.0, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-105660?
Medium (6.9, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-105660?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.