Is httpx 0.6 vulnerable?

PyPI · 2 releases from 0.6.7 to 0.6.8 · latest httpx is 0.28.1 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. httpx 0.6.8, the last 0.6 release, is affected by 1 known security advisory (1 critical), including CVE-2021-41945. Upgrade to 0.23.0 or later to fix all of them.

Upgrade with:pip install 'httpx>=0.23.0'

Is your project on an affected httpx?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting httpx 0.6.8

  • CriticalCVE-2021-41945GHSA-h8pj-cxx2-jfg229 Apr 2022

    Improper Input Validation in httpx

    Affected
    <0.23.0
    Fixed in
    0.23.0

Every httpx 0.6.x release

Affected: 0.6.7 to 0.6.8. Latest httpx: 0.28.1.

VersionKnown advisories
httpx 0.6.8CVE-2021-41945
httpx 0.6.7CVE-2021-41945

Which of your client projects are still on httpx 0.6?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact httpx version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other httpx versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.