{"answers":{"affected":"3 open source packages ship an affected version, including requests. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-25645 in the wild and no public exploit code.","fix":"Upgrade requests to 2.33.0 or later.","what":"CVE-2026-25645 is a medium-severity path traversal vulnerability in psf requests, published on 25 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-25645 and fix it if it is affected.\n\nWhat it is: CVE-2026-25645 is a medium-severity path traversal vulnerability in psf requests, published on 25 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-25645 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- requests (PyPI): affected all versions; fixed in 2.33.0\n- requests (PyPI): affected all versions; fixed in 2.33.0\n- requests (PyPI): affected all versions; fixed in 2.33.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-25645/ (Markdown: https://insights.sbomify.com/CVE-2026-25645/index.md)","id":"CVE-2026-25645","markdown":"https://insights.sbomify.com/CVE-2026-25645/index.md","name":"CVE-2026-25645","record":{"aliases":["ALPINE-CVE-2026-25645","AZL-80996","BELL-CVE-2026-25645","CLEANSTART-2026-AZ59995","CLEANSTART-2026-FE88742","CLSA-2026-1780879897","CLSA-2026-1781225614","CLSA-2026-1781225615","CLSA-2026-1787551818","DEBIAN-CVE-2026-25645","ECHO-74d4-cc6f-7870","GHSA-gc5v-m9x4-r6x2","MINI-2249-4pgh-55h8","MINI-2gjj-gxh3-q7gg","MINI-468x-jrqv-mx3m","MINI-4pcp-qh2w-p26j","MINI-6vr4-f5xr-4fcv","MINI-7242-r4g7-83mf","MINI-7493-j9qw-57xq","MINI-78rp-2vxc-h4fr","MINI-8r36-m5c7-3c2g","MINI-cfqx-99v2-hgcf","MINI-ffg9-337x-5j2v","MINI-g7m2-5mcg-r5jv","MINI-h2ph-583p-8rr7","MINI-mp65-jxq7-vxh2","MINI-wg7m-87p7-x23c","OESA-2026-1791","OESA-2026-1909","PYSEC-2026-2275","ROOT-APP-PYPI-CVE-2026-25645","SUSE-SU-2026:1218-1","SUSE-SU-2026:1644-1","SUSE-SU-2026:1647-1","SUSE-SU-2026:21036-1","SUSE-SU-2026:21063-1","SUSE-SU-2026:22055-1","SUSE-SU-2026:22091-1","UBUNTU-CVE-2026-25645","USN-8825-1","openSUSE-SU-2026:10455-1","openSUSE-SU-2026:20926-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python HTTP library","requires_auth":"low_privilege","summary":"A local attacker can exploit predictable temp file names in Requests' zip extraction to replace legitimate files with malicious ones, potentially leading to code execution.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"requests","vendor":"python"}],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-377","name":"DEPRECATED: Insecure Temporary File"}],"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.","ecosystems":["PyPI","SUSE:Linux Enterprise Module for Public Cloud 12","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP applications 16.0","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","SUSE:Linux Micro 6.2","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2025-11-16","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-11-16T17:27:02Z","kind":"github_poc","ref":"https://github.com/Jaycelation/CVE-2026-25645","stars":0,"title":"Insecure Temp File Reuse in extract_zipped_paths()"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","id":"CVE-2026-25645","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":12,"n_references":3,"next":{"headline":"LIBPNG has a heap buffer overflow in png_set_quantize","id":"CVE-2026-25646"},"packages":[{"ecosystem":"PyPI","fixed":["2.33.0"],"introduced":["0"],"last_affected":[],"package":"requests","purl":null,"source":"GHSA-gc5v-m9x4-r6x2"},{"ecosystem":"PyPI","fixed":["2.33.0"],"introduced":["0"],"last_affected":[],"package":"requests","purl":"pkg:pypi/requests","source":"GHSA-gc5v-m9x4-r6x2"},{"ecosystem":"PyPI","fixed":["2.33.0"],"introduced":["0"],"last_affected":[],"package":"requests","purl":"pkg:pypi/requests","source":"PYSEC-2026-2275"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 12","fixed":["2.24.0-8.26.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012","source":"SUSE-SU-2026:1218-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["2.32.4-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:22091-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["2.24.0-8.26.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2026:1218-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["2.32.4-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:22091-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["2.32.3-3.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2026:21063-1"},{"ecosystem":"SUSE:Linux Micro 6.1","fixed":["2.32.4-slfo.1.1_2.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Micro%206.1","source":"SUSE-SU-2026:21036-1"},{"ecosystem":"SUSE:Linux Micro 6.2","fixed":["2.32.4-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/suse/python-requests\u0026distro=SUSE%20Linux%20Micro%206.2","source":"SUSE-SU-2026:22055-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["2.32.4-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/opensuse/python-requests\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20926-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.33.0-1.1"],"introduced":["0"],"last_affected":[],"package":"python-requests","purl":"pkg:rpm/opensuse/python-requests\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10455-1"}],"prev":{"headline":"DataHub's LDAP Ingestion Source vulnerable to MITM attack through TLS downgrade","id":"CVE-2026-25644"},"products":["requests"],"published":"2026-03-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-25","vendors":["psf"]},"summary":"A local attacker can exploit predictable temp file names in Requests' zip extraction to replace legitimate files with malicious ones, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2026-25645/"}