CVE-2021-41945: encode httpx Improper Input Validation
Vulnerability summary
CVE-2021-41945 is a critical (CVSS 9.1) Improper Input Validation vulnerability in encode httpx. EPSS estimates a 2.12% chance of exploitation in the next 30 days, higher than 82.4% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 28-04-2022PublishedVulnerability first disclosed.
- 09-07-2026Last modifiedVulnerability information updated.
Description
Encode OSS httpx < 0.23.0 is affected by improper input validation in `httpx.URL`, `httpx.Client` and some functions using `httpx.URL.copy_with`.
CVSS metrics
6 scores · 4 sources · 3 versions- OSV · PypiEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
2.12%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.12% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 found4Edb76Bbd3B5Ff993Cf44F2Fbce5E571
Maturity: poc
Httpx
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- httpx< 0.23.0-1
Encode1 product
- httpx< 0.23.0
Opensuse1 product
- python-httpx&distro=openSUSE Tumbleweed< 0.28.1-2.1
PyPI1 product
- httpx< 0.23.0 | < 0.20.0
Ubuntu1 product
- httpxAll versions (No fix recorded)
5 vendors · 5 products
References
17 linksShow all 17 references
- encode.comWEB