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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-140868— Proxy-Authorization 头跨域重定向凭据泄露

一分钟漏洞结论

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

当跟随重定向至不同源时,httpx2 会移除 Authorization 和 Cookie 头,但保留 Proxy-Authorization。在客户端或请求头中设置了 Proxy-Authorization 的客户端会将该凭据发送到重定向目标,控制重定向响应的攻击者,或纯 HTTP 上的路径中间人攻击者,可借此截获该凭据。 应用在满足以下所有条件时受影响:设置了 follow_redirects=True(默认值为 False),Proxy-Authorization 通过 headers 传入而非通过 prox

CVSS 3.7 · Low
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Proxy-Authorization header not stripped on cross-origin redirects leaks proxy credentials
来源: CVE Program / CVE List V5
Vulnerability Description
When following a redirect to a different origin, httpx2 removes the Authorization and Cookie headers but keeps Proxy-Authorization. A client that sets Proxy-Authorization in its client or request headers sends that credential to the redirect target, where an attacker who controls the redirecting response, or an on-path attacker on plain HTTP, can capture it. Applications are affected when all of the following hold: follow_redirects=True is set (the default is False), Proxy-Authorization is passed in headers rather than through the proxy parameter, and the redirect target is not reached through the same forward proxy that consumed the header on the first request. Proxy credentials given in the proxy URL are not affected. Affected versions are httpx2 before 2.18.0. The issue is fixed in 2.18.0, which removes Proxy-Authorization whenever a redirect changes origin. Until then, give proxy credentials in the proxy URL instead of a header, or leave follow_redirects off.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
信息暴露
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
pydantic httpx2 0 ~ 2.18.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-140868 其他参考 (1)

同批安全公告 · pydantic · 2026-12-04 · 共 3 条

CVE-2026-142020 5.9 MEDIUM requests库 iter_lines() 内存耗尽漏洞
CVE-2026-132651 5.3 MEDIUM WebSocket 分片重组致 CPU 拒绝服务漏洞

IV. Related Vulnerabilities