CVE-2026-25645

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

CVE-2026-25645 is fixed in 8 products on 1 platform, first by python3-requests 2.22.0-2ubuntu1.1+esm2, released March 25, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.5
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0019
8th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
python-pulp-glue · Fedora 43 0.37.0-5.fc43 FEDORA-2026-8AD863685A May 8, 2026
python-requests · Fedora 43 2.33.1-1.fc43 FEDORA-2026-8AD863685A May 8, 2026
python-requests · opensuse-leap 16.0 2.32.4-160000.3.1 OPENSUSE-SU-2026:20926-1 Jun 8, 2026
python-requests · sles 16.0 2.32.4-160000.3.1 SUSE-SU-2026:22091-1 Jun 8, 2026
python3-pulp-glue · Fedora 43 0.37.0-5.fc43 FEDORA-2026-8AD863685A May 8, 2026
python3-requests · Fedora 43 2.33.1-1.fc43 FEDORA-2026-8AD863685A May 8, 2026
python3-requests · Ubuntu 20.04 LTS (focal) 2.22.0-2ubuntu1.1+esm2 python3-requests 2.22.0-2ubuntu1.1+esm2 Mar 25, 2026
python3-requests · Ubuntu 22.04.1 LTS (jammy) 2.25.1+dfsg-2ubuntu0.4 python3-requests 2.25.1+dfsg-2ubuntu0.4 Mar 25, 2026
python3-requests · Ubuntu 24.04.5 LTS (noble) 2.31.0+dfsg-1ubuntu1.2 python3-requests 2.31.0+dfsg-1ubuntu1.2 Mar 25, 2026
python3-requests · Ubuntu 26.04.1 LTS (resolute) 2.32.5+dfsg-1ubuntu1.1 python3-requests 2.32.5+dfsg-1ubuntu1.1 Mar 25, 2026
python3-requests+security · Fedora 43 2.33.1-1.fc43 FEDORA-2026-8AD863685A May 8, 2026
python3-requests+socks · Fedora 43 2.33.1-1.fc43 FEDORA-2026-8AD863685A May 8, 2026
python3-requests+use_chardet_on_py3 · Fedora 43 2.33.1-1.fc43 FEDORA-2026-8AD863685A May 8, 2026
requests · Debian 14 2.34.2-1 DEBIAN-CVE-2026-25645 Mar 25, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.