Feed
5.5MEDIUM

CVE-2026-25645Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function

A medium-severity vulnerability reachable with local access, needing low privileges and no user interaction. EPSS estimates a 0.2% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
0.2%
percentile 8%
Priority
8/100 low
how it is computed
Fix
Named by a source
CVE published 25 Mar 2026

Reference

None of the "Needs attention" rules apply right now.

EPSS 0.2% (+0) · No user interaction (+5)

Immediate actions

Who should check

  • requests (PyPI) pkg:pypi/requests

    • Affected< 2.33.0Fixed in2.33.0OSV (PYSEC-2026-2275)
  • psf requests product:psf/requests

    • Affected< 2.33.0Affected range ends before2.33.0as published by CNA (CVE List)
  • python requests product:python/requests

    • Affected< 2.33.0Affected range ends before2.33.0as published by CPE data (via the NVD API)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
5.5 MEDIUM (version 3.1)
Score from
NVD
Attack vector
local
Attack complexity
low
Privileges required
low
User interaction
none
Weakness
CWE-377
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
no
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)Requests is a HTTP library. Prior to version 2.33.0, the `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one. Standard usage of the Requests library is not affected by this vulnerability. Only applications that call `extract_zipped_paths()` directly are impacted. Starting in version 2.33.0, the library extracts files to a non-deterministic location. If developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.

Update history

  • 25 Mar 2026Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 35 min ago · osv 35 min ago · nvd 4 min ago · epss 35 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-gc5v-m9x4-r6x2, PYSEC-2026-2275