CVE-2026-25645
published medium CVSS 3.1 · 4.4Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| psf | — | requests< 2.33.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | focal | requests | Advisory build | 2.22.0-2ubuntu1.1+esm2 | USN-8825-1 |
| Alpine Linux | edge | py3-requests | Fixed | 2.33.1-r0 | Package fix record |
| SUSE / openSUSE | SLE-12 | python-requestsnoarch | Advisory build | 2.24.0-8.26.1 | SUSE-SU-2026:1218-1 |
| Ubuntu | jammy | requests | Advisory build | 2.25.1+dfsg-2ubuntu0.4 | USN-8825-1 |
| Ubuntu | noble | requests | Advisory build | 2.31.0+dfsg-1ubuntu1.2 | USN-8825-1 |
Show 33 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | resolute | requests | Advisory build | 2.32.5+dfsg-1ubuntu1.1 | USN-8825-1 |
| Alpine Linux | v3.20 | py3-requests | Fixed | 2.33.1-r0 | Package fix record |
| Alpine Linux | v3.21 | py3-requests | Fixed | 2.33.1-r0 | Package fix record |
| Alpine Linux | v3.22 | py3-requests | Fixed | 2.33.1-r0 | Package fix record |
| Alpine Linux | v3.23 | py3-requests | Fixed | 2.33.1-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-requests | Fixed | 2.33.1-r0 | Package fix record |
| SUSE / openSUSE | SLE-12 | python3-requestsnoarch | Advisory build | 2.24.0-8.26.1 | SUSE-SU-2026:1218-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-requestsnoarch | Advisory build | 2.24.0-8.26.1 | SUSE-SU-2026:1218-1 |
| SUSE / openSUSE | SLE-12-SP3 | python3-requestsnoarch | Advisory build | 2.24.0-8.26.1 | SUSE-SU-2026:1218-1 |
| SUSE / openSUSE | SLE-12-SP4 | python-requestsnoarch | Advisory build | 2.24.0-8.26.1 | SUSE-SU-2026:1218-1 |
| SUSE / openSUSE | SLE-12-SP4 | python3-requestsnoarch | Advisory build | 2.24.0-8.26.1 | SUSE-SU-2026:1218-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-requestsnoarch | Advisory build | 2.24.0-8.26.1 | SUSE-SU-2026:1218-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-requestsnoarch | Advisory build | 2.24.0-8.26.1 | SUSE-SU-2026:1218-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-requestsnoarch | Advisory build | 2.31.0-150400.6.21.1 | SUSE-SU-2026:1647-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-requestsnoarch | Advisory build | 2.25.1-150300.3.21.1 | SUSE-SU-2026:1644-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-requestsnoarch | Advisory build | 2.31.0-150400.6.21.1 | SUSE-SU-2026:1647-1 |
| SUSE / openSUSE | SLE-16 | python313-requestsnoarch | Advisory build | 2.32.4-160000.3.1 | SUSE-SU-2026:22091-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-requestsnoarch | Advisory build | 2.31.0-150400.6.21.1 | SUSE-SU-2026:1647-1 |
| SUSE / openSUSE | SLE-5 | python3-requestsnoarch | Advisory build | 2.25.1-150300.3.21.1 | SUSE-SU-2026:1644-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-requestsnoarch | Advisory build | 2.31.0-150400.6.21.1 | SUSE-SU-2026:1647-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-requestsnoarch | Advisory build | 2.32.4-160000.3.1 | OPENSUSE-SU-2026:20926-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-requestsaarch64 | Advisory build | 2.33.0-1.1 | OPENSUSE-SU-2026:10455-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-requestsppc64le | Advisory build | 2.33.0-1.1 | OPENSUSE-SU-2026:10455-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-requestss390x | Advisory build | 2.33.0-1.1 | OPENSUSE-SU-2026:10455-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-requestsx86_64 | Advisory build | 2.33.0-1.1 | OPENSUSE-SU-2026:10455-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-requestsaarch64 | Advisory build | 2.33.0-1.1 | OPENSUSE-SU-2026:10455-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-requestsppc64le | Advisory build | 2.33.0-1.1 | OPENSUSE-SU-2026:10455-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-requestss390x | Advisory build | 2.33.0-1.1 | OPENSUSE-SU-2026:10455-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-requestsx86_64 | Advisory build | 2.33.0-1.1 | OPENSUSE-SU-2026:10455-1 |
| Ubuntu | focal | python3-requests | Advisory build | 2.22.0-2ubuntu1.1+esm2 | USN-8825-1 |
| Ubuntu | jammy | python3-requests | Advisory build | 2.25.1+dfsg-2ubuntu0.4 | USN-8825-1 |
| Ubuntu | noble | python3-requests | Advisory build | 2.31.0+dfsg-1ubuntu1.2 | USN-8825-1 |
| Ubuntu | resolute | python3-requests | Advisory build | 2.32.5+dfsg-1ubuntu1.1 | USN-8825-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| psf | requests | < 2.33.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-377 CWE-377: Insecure Temporary File
References
3Provider assertions
2GitHub_M · cna
Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8b862a17c0bfaa42edb2d81ef7162276bc2a2f30624513d21eafada5814b6eb2
- Ingested
- 23 Sep 2026, 09:07:08 UTC
- Source record
- Official CVE record