{"id":"CVE-2026-25645","summary":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","details":"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.","aliases":["GHSA-gc5v-m9x4-r6x2"],"modified":"2026-04-14T18:44:42.173556509Z","published":"2026-03-25T17:02:48.402Z","related":["CGA-xjwq-gmv4-jm7w","SUSE-SU-2026:1218-1","SUSE-SU-2026:21036-1","SUSE-SU-2026:21063-1","openSUSE-SU-2026:10455-1"],"database_specific":{"cwe_ids":["CWE-377"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25645.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25645.json"},{"type":"FIX","url":"https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7"},{"type":"WEB","url":"https://github.com/psf/requests/releases/tag/v2.33.0"},{"type":"ADVISORY","url":"https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25645"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/psf/requests","events":[{"introduced":"0"},{"fixed":"bc04dfd6dad4cb02cd92f5daa81eb562d280a761"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.33.0"}]}}],"versions":["2.0","v0.10.0","v0.10.1","v0.10.2","v0.10.3","v0.10.4","v0.10.5","v0.10.6","v0.10.7","v0.10.8","v0.11.1","v0.12.0","v0.12.1","v0.13.0","v0.13.1","v0.13.2","v0.13.3","v0.13.4","v0.13.5","v0.13.6","v0.13.7","v0.13.9","v0.14.0","v0.14.1","v0.14.2","v0.2.0","v0.2.1","v0.2.2","v0.2.3","v0.2.4","v0.3.0","v0.3.2","v0.3.3","v0.3.4","v0.4.0","v0.4.1","v0.5.0","v0.5.1","v0.6.3","v0.6.4","v0.8.8","v0.8.9","v0.9.0","v0.9.1","v0.9.3","v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.0.4","v1.1.0","v1.2.0","v1.2.1","v1.2.2","v1.2.3","v2.0","v2.0.0","v2.0.1","v2.1.0","v2.10.0","v2.11.0","v2.11.1","v2.12.0","v2.12.1","v2.12.2","v2.12.3","v2.12.4","v2.12.5","v2.14.0","v2.14.1","v2.14.2","v2.15.0","v2.15.1","v2.16.0","v2.16.1","v2.16.2","v2.16.3","v2.16.4","v2.16.5","v2.17.0","v2.17.1","v2.17.3","v2.18.2","v2.18.3","v2.19.0","v2.19.1","v2.2.0","v2.2.1","v2.20.1","v2.24.0","v2.25.0","v2.25.1","v2.26.0","v2.27.0","v2.27.1","v2.28.0","v2.28.1","v2.28.2","v2.29.0","v2.3.0","v2.30.0","v2.31.0","v2.32.0","v2.32.1","v2.32.2","v2.32.3","v2.32.4","v2.32.5","v2.4.0","v2.4.1","v2.4.2","v2.4.3","v2.5.0","v2.5.1","v2.5.2","v2.6.0","v2.8.0","v2.8.1","v2.9.0","v2.9.1","v2.9.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25645.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N"}]}