目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-105660— Bandit 未验证HTTP/1请求目标导致远程代码执行漏洞

一分钟漏洞结论

影响对象
mtrudel bandit
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

mtrudel bandit 存在一项输入语法正确性验证不当的安全漏洞。未经认证的远程攻击者可以通过 HTTP/1.1 绝对形式(absolute-form)或授权形式(authority-form)请求目标中的授权部分(authority),将 和 设置为不符合 RFC 3986 主机语法的值。 尽管 Bandit 会对 Host 头进行验证,并在其格式错误时返回 400 响应,但当请求目标自身包含授权信息时,根据 RFC 9112 的要求,该授权信息具有更高优先级。此时,位于 中的 函数会未经校验地将该授权信息

CVSS 6.9 · Medium

影响版本矩阵 2

厂商产品 版本范围状态
mtrudel bandit 0.6.0< 1.13.0 affected
0e3edda0edf6322e9164b827c6d3ddecd080ff2e< 6ea80210137b3f69caf65f67398934259dc365d0 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-105660 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Unvalidated HTTP/1 request-target authority lets a client choose conn.host and conn.port in Bandit
来源: CVE Program / CVE List V5
Vulnerability 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.
来源: CVE Program / CVE List V5
CVSS Information
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
来源: CVE Program / CVE List V5
Vulnerability Type
CWE-1286
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
mtrudel bandit 0.6.0 ~ 1.13.0 cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*
mtrudel bandit 0e3edda0edf6322e9164b827c6d3ddecd080ff2e ~ 6ea80210137b3f69caf65f67398934259dc365d0 cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*

二、漏洞 CVE-2026-105660 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-105660 的情报信息

请登录查看更多情报信息。

CVE-2026-105660 补丁与修复 (1)

CVE-2026-105660 厂商安全公告 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-105660

暂无评论


发表评论