{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-25645","id":"CVE-2026-25645","title":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","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 i","descriptionLong":"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.","published":"2026-03-25T17:02:48.402Z","updated":"2026-10-28T02:31:13.474294862Z","reserved":"2026-02-04T05:15:41.791Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["psf requests"],"affectedProducts":[{"vendor":"psf","product":"requests","defaultStatus":null,"versions":[{"version":"< 2.33.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"requests","purl":"pkg:pypi/requests","ranges":["<2.33.0"],"fixed":["2.33.0"],"advisory":"GHSA-gc5v-m9x4-r6x2"}],"cwes":["CWE-377"],"aliases":["GHSA-gc5v-m9x4-r6x2","PYSEC-2026-2275"],"references":[{"url":"https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/psf/requests/releases/tag/v2.33.0","tags":["x_refsource_MISC","Release Notes","web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25645.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25645","tags":["advisory"]},{"url":"https://github.com/psf/requests","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00194,"epssPercentile":0.09169,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-25645","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25645","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-25645","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gc5v-m9x4-r6x2","ok":true,"note":"GHSA-gc5v-m9x4-r6x2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-25645","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}