{"answers":{"affected":"1 open source package ship an affected version, including bandit.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105660 exists.","fix":"Upgrade bandit to 1.13.0 or later.","what":"CVE-2026-105660 is a medium-severity vulnerability in mtrudel bandit, published on 15 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-105660 and fix it if it is affected.\n\nWhat it is: CVE-2026-105660 is a medium-severity vulnerability in mtrudel bandit, published on 15 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105660 exists.\n\nAffected packages and fixed versions:\n- bandit (Hex): affected from 0.6.0; fixed in 1.13.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-105660/ (Markdown: https://insights.sbomify.com/CVE-2026-105660/index.md)","id":"CVE-2026-105660","markdown":"https://insights.sbomify.com/CVE-2026-105660/index.md","name":"CVE-2026-105660","record":{"aliases":["EEF-CVE-2026-105660","GHSA-v53v-9hvg-37jf"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Elixir HTTP server","requires_auth":"none","summary":"Attackers can spoof host and port values in HTTP requests, causing applications to generate malicious URLs or bypass host-based security checks.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-1286","name":"Improper Validation of Syntactic Correctness of Input"}],"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.\n\nApplications 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.\n\nThis issue affects bandit: from 0.6.0 before 1.13.0.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Unvalidated HTTP/1 request-target authority lets a client choose conn.host and conn.port in Bandit","id":"CVE-2026-105660","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"other","year":"2026"},"n_packages":1,"n_references":5,"next":{"headline":"Gitea panic on the repositories route of individual users","id":"CVE-2026-105661"},"packages":[{"ecosystem":"Hex","fixed":["1.13.0"],"introduced":["0.6.0"],"last_affected":[],"package":"bandit","purl":"pkg:hex/bandit","source":"EEF-CVE-2026-105660"}],"prev":{"headline":"Denial of service in bandit","id":"CVE-2026-105659"},"products":["bandit"],"published":"2026-10-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-16","vendors":["mtrudel"]},"summary":"Attackers can spoof host and port values in HTTP requests, causing applications to generate malicious URLs or bypass host-based security checks.","url":"https://insights.sbomify.com/CVE-2026-105660/"}