Skip to main content
VulnerabilityPublished

CVE-2026-140868: pydantic httpx2 · Information Exposure

Affects pydantic httpx2Source CVE Database V5

0
Compare

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

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Pydantic)CVSS 3.13.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
pydantichttpx2Affected
  • <2.18.0
Fixed in
  • 2.18.0
PyPIhttpx2pkg:pypi/httpx2Other threatsAffected
  • <2.18.0
Fixed in
  • 2.18.0

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.

References

Community reviews

Loading reviews…