CVE-2026-140868: pydantic httpx2 · Information Exposure
Affects pydantic httpx2Source CVE Database V5
Not known to be exploited · CVSS 3.7 Low : upgrade to 2.18.0 when convenient.
Data as of 4 Dec 2026, 12:19 UTC
Thin evidence
One scorer or none| CNA (Pydantic) | CVSS 3.1 | 3.7 |
|---|
- Patch
- Available – fixed in 2.18.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade pydantic httpx2 to 2.18.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| pydantichttpx2 | Affected
| Fixed in
|
PyPIhttpx2pkg:pypi/httpx2Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade httpx2 to version 2.18.0 or later, where the Proxy-Authorization header is removed on cross-origin redirects. Until upgrading, avoid setting Proxy-Authorization in headers; instead, provide proxy credentials via the proxy URL. Alternatively, disable automatic redirects by setting follow_redirects to False.
Description
httpx2 versions before 2.18.0 have a vulnerability where the Proxy-Authorization header is retained when following redirects to a different origin. This can expose proxy credentials to unauthorized actors if the redirect target is controlled by an attacker or intercepted on plain HTTP. The issue occurs when follow_redirects is enabled, Proxy-Authorization is set in headers (not via proxy URL), and the redirect target is accessed without the same forward proxy. The vulnerability is fixed in version 2.18.0 by removing Proxy-Authorization on cross-origin redirects.