CVE-2026-25645: Requests - Misconfiguration
- Cve: CVE-2026-25645
- Name: Requests - Misconfiguration
- 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.
- Impact: Local attackers can replace CA bundle files, potentially enabling man-in-the-middle attacks or privilege escalation.
- Remediation: Update to version 2.33.0 or later.
- Vulnerability type: misconfiguration
- Vulnerability impact: man_in_the_middle, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00306
- Epss percentile: 0.23766
- Assignee: [email protected]
- Published at: 2026-03-25T17:16:52Z
- Age in days: 243
- Modified at: 2026-06-17T10:25:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25645
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-377 | DEPRECATED: Insecure Temporary File |
Hackerone
- Reports: 1
- Rank: 5193
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Jaycelation/CVE-2026-25645 | poc-in-github | 2025-11-16 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:requests | < 2.33.0 | no | nvd | /v1/products/python/requests |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| psf/requests | commit, fix, package, releases, security_advisory | yes | /v1/repositories/psf/requests |
Index
- Repositories: 6996
- Repositories high signal: 3858
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-11-16
- Authentication required: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts