{"cve":"CVE-2026-25645","nvd":{"published":"2026-03-25T17:16:52.970","modified":"2026-06-17T10:25:00.443","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":5.5},"cwes":["CWE-377"],"references":["https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7","https://github.com/psf/requests/releases/tag/v2.33.0","https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2"],"products":["python:requests"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-25645","score":0.00189,"percentile":0.0861,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gc5v-m9x4-r6x2","url":"https://osv.dev/vulnerability/GHSA-gc5v-m9x4-r6x2","summary":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","modified":"2026-09-10T03:50:39.207922076Z","packages":[{"ecosystem":"PyPI","name":"requests","purl":"pkg:pypi/requests","ranges":["<2.33.0"],"fixed":["2.33.0"]}]},{"id":"PYSEC-2026-2275","url":"https://osv.dev/vulnerability/PYSEC-2026-2275","summary":"","modified":"2026-07-13T07:15:43.964902190Z","packages":[{"ecosystem":"PyPI","name":"requests","purl":"pkg:pypi/requests","ranges":["<2.33.0"],"fixed":["2.33.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}