VDB

CVE-2026-25645

CVE-2026-25645 PUBLISHED CVSS 4.4 MEDIUM

Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function

Reported by github_m · Published March 25, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
py3-cassandra-medusaChainguard0.28.0-r1
prefect-fipsChainguard3.6.23-r0
datadog-agent-fips-7.74Chainguard7.74.1-r7
superset-5.0Chainguard5.0.0-r22
datadog-agent-7.75Wolfi7.75.4-r7

Risk scores

CVSS 3.1
4.4
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

Affected products

VendorProductVersions
psfrequests< 2.33.0
chainguardpy3-cassandra-medusa0
chainguardprefect-fips0
chainguarddatadog-agent-fips-7.740
chainguardsuperset-5.00
wolfidatadog-agent-7.750
chainguarddatadog-agent-7.770
chainguarddatadog-agent-fips-7.720
wolfidatadog-agent-7.770
chainguardopal0
chainguardgitlab-cng-fips-18.90
chainguardnvidia-nsight-compute-13.20
chainguardjwt-tool0
chainguardprefect0
chainguardlitellm0
chainguardgraalvm-250
wolfidatadog-agent-7.740
chainguardk8s-sidecar0
chainguardggshield0
chainguarddask-kubernetes0

…and 111 more

Timeline

  • Mar 25, 2026 CVE Published
  • Mar 25, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (6 in total, the first dated here)
  • Mar 30, 2026 CVE Updated
  • May 18, 2026 EPSS Score (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-25645
vulnetix vdb fixes CVE-2026-25645

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-25645/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›