requests vulnerabilities

Python HTTP for Humans.

Registry
PyPI
Latest
2.34.2
License
Apache-2.0

8 known advisories

The latest version, 2.34.2, is not affected by any of them. Projects on older versions may be.

Update to the latest version:pip install 'requests>=2.34.2'

Is your project on an affected requests?

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

Security advisories for requests

  • MediumCVE-2026-25645GHSA-gc5v-m9x4-r6x225 Mar 2026

    Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function

    Affected
    <2.33.0
    Fixed in
    2.33.0
  • MediumCVE-2024-47081GHSA-9hjg-9r4m-mvj79 Jun 2025

    Requests vulnerable to .netrc credentials leak via malicious URLs

    Affected
    <2.32.4
    Fixed in
    2.32.4
  • MediumCVE-2024-35195GHSA-9wx4-h78v-vm5620 May 2024

    Requests `Session` object does not verify requests after making first request with verify=False

    Affected
    <2.32.0
    Fixed in
    2.32.0
  • MediumCVE-2023-32681GHSA-j8r2-6x86-q33q22 May 2023

    Unintended leak of Proxy-Authorization header in requests

    Affected
    >=2.3.0 <2.31.0
    Fixed in
    2.31.0
  • MediumCVE-2014-1829GHSA-cfj3-7x9c-4p3h17 May 2022

    Exposure of Sensitive Information to an Unauthorized Actor in Requests

    Affected
    <2.3.0
    Fixed in
    2.3.0
  • MediumCVE-2014-1830GHSA-652x-xj99-gmcc14 May 2022

    Exposure of Sensitive Information to an Unauthorized Actor in Requests

    Affected
    <2.3.0
    Fixed in
    2.3.0
  • MediumCVE-2015-2296GHSA-pg2w-x9wp-vw9213 May 2022

    Python Requests Session Fixation

    Affected
    >=2.1.0 <2.6.0
    Fixed in
    2.6.0
  • HighCVE-2018-18074GHSA-x84v-xcm2-53pg29 Oct 2018

    Insufficiently Protected Credentials in Requests

    Affected
    <2.20.0
    Fixed in
    2.20.0

Is your requests version vulnerable?

Which of your client projects still run an old requests?

NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other PyPI packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.