CVE-2026-105660
Last modified
CVE-2026-105660 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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. EPSS estimates a 0.48% chance of exploitation in the next 30 days.
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://good.example@evil.example/x HTTP/1.1 with a valid Host header yields a conn.host of good.example@evil.example, 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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| mtrudel | bandit | >= 0.6.0, < 1.13.0 |
| mtrudel | bandit | >= 0e3edda0edf6322e9164b827c6d3ddecd080ff2e, < 6ea80210137b3f69caf65f67398934259dc365d0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-105660?
How severe is CVE-2026-105660?
How do I fix CVE-2026-105660?
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-10565A security flaw has been discovered in Open5GS up to 2.7.6. …3.1
- CVE-2026-105650Ghost is a Node.js content management system. From 2.1.0 unt…8.1
- CVE-2026-105651Ghost is a Node.js content management system. From 5.94.0 un…7.3
- CVE-2026-105652Ghost is a Node.js content management system. From 0.7.2 unt…3.1
- CVE-2026-105659Uncontrolled Resource Consumption vulnerability in mtrudel b…8.7
- CVE-2026-10566A weakness has been identified in FoundationAgents MetaGPT u…5.3
- CVE-2026-105661Requesting `/{username}/-/repositories` for an individual us…5.3
- CVE-2026-105664The endpoint exposes an observable response discrepancy when…5.3
- CVE-2026-105667In the default configuration, the HL7 listener accepts ADT^A…7.5
- CVE-2026-105668Protection Mechanism Failure vulnerability in hexpm hex allo…7.1
- CVE-2026-10567A security vulnerability has been detected in 1Panel-dev Cor…3.5
- CVE-2026-105672TP-Link Tapo C325WB V2 contains an unauthenticated authoriza…8.7
Are you affected by CVE-2026-105660?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
