# CVE-2026-25645: Requests has Insecure Temp File Reuse in its extract\_zipped\_paths() utility function

- Priority: **Routine**
- Reason: Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-25 · Modified: 2026-03-25
- Aliases: ALPINE-CVE-2026-25645, SUSE-SU-2026:1218-1, SUSE-SU-2026:21036-1, SUSE-SU-2026:21063-1, SUSE-SU-2026:22055-1, SUSE-SU-2026:22091-1, GHSA-gc5v-m9x4-r6x2, PYSEC-2026-2275, UBUNTU-CVE-2026-25645, USN-8825-1, DEBIAN-CVE-2026-25645, CGA-24fp-7wj9-m4rr, CGA-2f47-4h7q-wwcp, CGA-2jc3-3ghw-rj3f, CGA-386r-q66g-crvx, CGA-38mf-427c-qwcp, CGA-38xg-2chx-crf3, CGA-39gh-x64f-jr3p, CGA-3j93-5fhx-m6h3, CGA-3mf8-rrfg-wxph, CGA-3rgw-w5vq-4h6r, CGA-4285-f4mj-j6f8, CGA-4359-phh6-gw4v, CGA-4jmm-6fm9-v66j, CGA-4qxm-hmq6-h648, CGA-4r2r-vv9c-67p4, CGA-4rfv-cf97-9h5j, CGA-4xpr-7xv7-gf2j, CGA-52cj-9mp5-9h7m, CGA-543v-65v8-8gqr, CGA-56x3-5fhv-67jh, CGA-5cxw-gq45-j54j, CGA-5h6q-2p7f-q8cp, CGA-5m7g-jc6c-3cw3, CGA-5mgw-6gcf-v8qh, CGA-639j-8jmx-9mm9, CGA-64cv-rx3q-h59q, CGA-66v5-gr6v-499m, CGA-67q2-5h99-qg7p, CGA-6cfp-xr6j-6967, CGA-6fxv-rhhh-6mc6, CGA-6qvp-fjgx-2r2g, CGA-6w2g-64m9-3xh8, CGA-6wq5-3gmh-j4h8, CGA-76x3-mgxr-g8q7, CGA-77cc-q55v-jfm7, CGA-7f98-cw59-2vpc, CGA-7vmq-c6hc-237p, CGA-7w5x-7g7m-x97c, CGA-86p5-gcxh-cf2f, CGA-87rj-cp24-h9pc, CGA-8f87-jjh2-64mf, CGA-8rh8-wj4q-c4fx, CGA-929h-9vp6-gj7w, CGA-937w-v7h3-9m7q, CGA-977f-mmgh-fgp6, CGA-9cff-jvv6-hhw4, CGA-9gmg-rx72-2j3h, CGA-9pjm-2vcj-4pfc, CGA-9v93-rc68-vrh3, CGA-c2fj-g3g3-9x2c, CGA-c2pq-ccpf-g48r, CGA-c3x5-qmrw-qwxg, CGA-c5jj-p66g-hcgp, CGA-c7hx-2cq5-qhw7, CGA-c8px-cp67-j384, CGA-ch4h-xxmf-x2pf, CGA-cm25-9p6r-g754, CGA-cpj4-hmrf-m6fq, CGA-cr2c-g8pp-wp9r, CGA-f44q-h2c2-qw3h, CGA-f4c5-hgvg-qc46, CGA-f7g2-2c95-jr79, CGA-f98w-p9jr-r8f8, CGA-f9qh-hghh-pmwh, CGA-fcv2-792v-jccc, CGA-fmcp-mv9f-62mm, CGA-fq4h-63c4-ccx8, CGA-fqvg-h53p-5wwj, CGA-g238-86jg-hr6g, CGA-gchc-3rc9-53cv, CGA-gqhr-7fmc-9jxc, CGA-gvpv-3xj2-rxm8, CGA-gvq8-xgh4-h336, CGA-h7v7-3q64-r7x3, CGA-hcq6-q99w-222r, CGA-hfxj-7mcg-qg22, CGA-hj3c-w2h4-2j8c, CGA-hmrw-7rmx-34p6, CGA-hq6f-pr48-q7w8, CGA-hqrj-9c86-wvmq, CGA-hwm5-w7rv-2548, CGA-hx94-h6qf-cc3x, CGA-hxv6-9g95-hf23, CGA-j9jc-mf3w-x9f4, CGA-j9mx-x5wf-59h3, CGA-jf78-j58c-jgmr, CGA-jh68-r2rp-9q7m, CGA-jrm5-hvf7-4v39, CGA-jv85-ghxx-jfhv, CGA-jw4x-x2f2-8rcf, CGA-m43f-jc44-hfpp, CGA-m6pf-79xp-h5r3, CGA-m8j9-w8gv-g3h6, CGA-m9wx-cqhx-6jr5, CGA-mc9m-qgcw-ppm8, CGA-mggp-g3jv-wj8h, CGA-mrm5-22w3-r9xc, CGA-mvrc-5x9p-66jq, CGA-p4j7-p6pr-g4xc, CGA-p533-7w3q-8gj4, CGA-p6r3-cg4x-wxcm, CGA-pgcw-frpc-7x9m, CGA-phg3-72jr-ch89, CGA-pp4j-m5cx-vxx6, CGA-ppvx-q48h-r8wp, CGA-pr8j-cf5j-h9hv, CGA-pw26-7xc4-q6pf, CGA-q58r-9fgj-gr7g, CGA-q6g2-mwvg-hwm5, CGA-qjhp-pgc8-wx43, CGA-qq2r-x2c9-hpr5, CGA-qqfv-8hcw-mcx6, CGA-qqhv-mm97-wrp3, CGA-qvw3-h3ff-w9hw, CGA-r3rr-mqwc-h496, CGA-r8pv-r43h-2xhh, CGA-rhqr-mjpm-8q6m, CGA-rm4v-hrrj-p48x, CGA-rq9r-pxw5-78g6, CGA-rw29-438j-5wvh, CGA-v66r-jxwv-x4mx, CGA-vccg-329c-cwpq, CGA-vgj8-4v8g-rx6x, CGA-vj9r-2rr9-g6mf, CGA-vr6m-48vm-477g, CGA-vrmh-r39j-39fq, CGA-vv4h-qv96-pmq5, CGA-vv8x-jvv6-rv6r, CGA-w43f-4m6h-f5pg, CGA-w74r-29rc-cf95, CGA-w9gc-c87p-j354, CGA-wc9h-7qwv-fqv5, CGA-wfp2-2xhv-mx6w, CGA-wgrq-x53q-mjgr, CGA-wmhx-5hh3-c82w, CGA-x5jh-xvvf-95vh, CGA-xcpj-48mh-47wm, openSUSE-SU-2026:10455-1, openSUSE-SU-2026:20926-1, CGA-2grq-89mw-f2fq, CGA-2m7m-v8m7-8cwg, CGA-2pjf-mhgr-9f8v, CGA-2r7w-6943-3jqw, CGA-2w77-w2hm-5g4x, CGA-32wv-7qqx-2f36, CGA-397g-p44q-5mwp, CGA-3cpw-7wv4-cqm4, CGA-3ffv-w8q5-qfjx, CGA-3jhq-xhh2-fpvv, CGA-3mvh-5vpv-3qr8, CGA-462v-8xh6-j3pr, CGA-467p-73r6-hcgp, CGA-47f6-4wmm-g3hf, CGA-47gv-g6p4-ffjf, CGA-488q-73pw-c6c8, CGA-4fcg-3hvw-cwvp, CGA-4g29-78cg-fhjf, CGA-4mvw-vcqv-w46p, CGA-4w7m-jxcj-xcmx, CGA-4w8w-j82x-6wgw, CGA-4x9p-q65x-wr2h, CGA-5237-638j-c2f4, CGA-52pp-wfwx-j76j, CGA-5568-x4h4-532h, CGA-5698-368r-g88j, CGA-57j4-fwwj-cvpg, CGA-5rrg-8qxf-r332, CGA-63qm-pg36-9g3p, CGA-6567-4jrh-j3gw, CGA-66ch-w6j3-vm28, CGA-673w-5mm6-q52p, CGA-6c6v-v9vv-g3p3, CGA-6ccw-v25p-72m9, CGA-6hc4-v5pp-4fjg, CGA-6m5p-q87j-3pwq, CGA-6p6h-8p5f-7xx6, CGA-6vgr-542q-gw3v, CGA-6w9f-wxmv-wwwf, CGA-6wxg-q652-mf42, CGA-75c4-wcf4-jrx3, CGA-7756-rhgc-fh9p, CGA-77pg-2w33-rhq3, CGA-79rq-q4x7-f8vx, CGA-7f7j-558j-hfr8, CGA-7gxh-gmh5-5xqc, CGA-7jxc-jxwp-j8j9, CGA-7p64-53hg-69r2, CGA-7pww-978q-m7m7, CGA-7q33-8pc7-v78q, CGA-7ww8-vjqv-w3wv, CGA-83q8-r6c4-x57f, CGA-849v-fc39-73rx, CGA-87qq-3344-vqvq, CGA-87vc-mph7-3r44, CGA-88q3-4rmh-6rqf, CGA-8ffr-c2qh-9gvc, CGA-8jj8-9x5p-vrx2, CGA-8p86-532p-p9jh, CGA-8r5h-34g7-jj9h, CGA-8vpp-p3p6-mvfh, CGA-8wjq-5pwc-c6gx, CGA-98qp-38c8-g8vp, CGA-99j6-7xq4-qc65, CGA-9f4v-w23g-2373, CGA-9fj9-2gm4-q6rj, CGA-9p68-8f4c-jxvg, CGA-9pcf-mccw-58qf, CGA-c2gx-f42c-49q8, CGA-c4pc-4q73-7639, CGA-c53w-vg9m-gcwr, CGA-c83w-vmx8-pxmc, CGA-cc9m-q9qj-6h2q, CGA-ccmp-9vmv-3v3v, CGA-ch9p-7548-2234, CGA-cm2g-638v-23v6, CGA-cq44-7529-mvgh, CGA-cqf9-cxc5-3wmc, CGA-crj2-mmh5-8f88, CGA-cvv5-48h4-hqxr, CGA-cw8g-pqv2-f968, CGA-cwrj-6qgm-5vx8, CGA-f38v-wv5x-vvr5, CGA-f66j-rjcq-wpxj, CGA-f6g7-mhwh-95h4, CGA-f7x6-v8xr-q292, CGA-f876-vm92-v83j, CGA-fgwr-g362-r8r9, CGA-fh34-29m6-72j2, CGA-fh9m-rr64-f9fc, CGA-fm45-23h4-w2jr, CGA-fp4w-c4gh-jf76, CGA-fpqv-c54g-3w99, CGA-frj5-p5rj-gx2p, CGA-fvhh-rr73-874x, CGA-g25p-hqrp-p54j, CGA-g283-hppq-rh3x, CGA-g5r5-2vvp-m9w5, CGA-g7c6-6g6m-j9w6, CGA-gcmr-3m96-58g4, CGA-ggwx-jfjf-8vf3, CGA-gjm2-jw3c-wvp3, CGA-gjw7-jhjg-hwpg, CGA-gm7v-7rrw-wfgv, CGA-gp34-8jw7-hjw5, CGA-gvm6-c67q-jr46, CGA-h2qx-w95r-j6hf, CGA-h434-v5pj-vp68, CGA-h4p7-5r67-58jm, CGA-h5wp-9crq-phjm, CGA-h7c4-4p77-h3mh, CGA-hcm4-j942-3535, CGA-hqjf-4fw3-w3h3, CGA-hr5h-f386-3c2f, CGA-hrh6-v2xc-32q4, CGA-hv3q-mq32-5m6x, CGA-hvm9-65mc-vhvj, CGA-j44p-f4cp-vhxm, CGA-j8j8-4vpw-9mr7, CGA-jfxw-cxh8-rvfj, CGA-jj34-2x55-xxcc, CGA-jj66-xv2h-8jw7, CGA-jm2p-27r5-2j87, CGA-jqmw-xgj6-3483, CGA-jqvh-8gmm-3r6g, CGA-jr9p-85rf-6vqw, CGA-jrx5-x32j-wcxf, CGA-jw7x-qwcc-xr2f, CGA-m4cp-vqpw-546q, CGA-m5v4-hqwv-f99v, CGA-m7pm-57f3-jc8j, CGA-m85g-m2p9-q655, CGA-mcr6-5f2p-r4rj, CGA-mg9q-8729-f5xc, CGA-mjhr-22hh-226j, CGA-mp33-c528-23v7, CGA-p933-4j8r-742p, CGA-p93j-prmh-6r2m, CGA-pg5h-wc42-wjjv, CGA-pj38-wp6j-v9g4, CGA-pjx2-cw3j-hgxx, CGA-pmh2-f67j-8r74, CGA-pqqf-rp72-mh42, CGA-prj4-r4q9-gfvq, CGA-prm7-wqqp-h4jq, CGA-pw55-qvvx-8fph, CGA-pwj2-7mpj-36hr, CGA-q68m-vfx3-vpjr, CGA-q7pg-gmph-rmx3, CGA-qc54-4qvc-qm2p, CGA-qc8v-fchm-8vwr, CGA-qhqf-ph8c-xf5q, CGA-qjpj-528j-3pwf, CGA-qv6w-2fw8-4h5r, CGA-qv7w-x4j5-chmw, CGA-qvff-9jf3-fxxx, CGA-qw38-7pg9-m2pj, CGA-qxvv-hp22-5q92, CGA-r27f-xmj2-9j72, CGA-r46h-q6p9-24ww, CGA-r4p2-m934-f3w3, CGA-r5q6-3qc8-crw8, CGA-r8g8-w77x-mwwg, CGA-r974-wq45-2h3m, CGA-rchr-4qv8-4qvq, CGA-rfgw-xx66-hw46, CGA-rfq7-jq82-qfvw, CGA-rgf5-g329-qfxm, CGA-rjxc-vmmg-hc8p, CGA-rpqr-w58h-c4v2, CGA-rvf7-8h98-fw9p, CGA-v2w2-8j6p-r7f4, CGA-v356-9rp3-95hr, CGA-v43r-8593-w89p, CGA-vcx2-f7g5-jrp5, CGA-vh2v-mc78-54jf, CGA-vhrj-8jmj-q5wf, CGA-vm43-wqf3-qfvg, CGA-vmw8-xj4v-77rx, CGA-vvcx-fc2m-g386, CGA-vvpr-xgv8-hw43, CGA-vx9f-cv52-f8f2, CGA-w224-mx2p-j69v, CGA-w2xm-wxqw-5938, CGA-w32v-9pqr-4qpx, CGA-w524-q3x6-j4qw, CGA-w546-7v5g-pw3h, CGA-whj6-924c-w9gx, CGA-wm3x-r2w4-qcf5, CGA-x2cm-qqph-x39g, CGA-x33v-p82h-mjrh, CGA-x385-q563-mgfh, CGA-x5cp-fr9v-j7rp, CGA-xcww-39fm-jwwv, CGA-xgp8-rfhm-94g9, CGA-xp5r-hhh9-9m9r, CGA-xxg3-r4v7-6g83
- Record: https://cvemate.com/vulnerability/CVE-2026-25645 · JSON: https://cvemate.com/vulnerability/CVE-2026-25645/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.306%, percentile 25.17%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 208)

- alpine py3-requests (Alpine Linux): \< 2.33.1-r0
- chainguard airflow-2 (Chainguard): \< 2.11.2-r5
- chainguard airflow-3 (Chainguard): \< 3.1.8-r10
- chainguard airflow-core-2 (Chainguard): \< 2.11.2-r3
- chainguard airflow-core-3 (Chainguard): \< 3.1.8-r3
- chainguard ansible-operator (Chainguard): \< 1.42.2-r2 \| \< 1.42.2-r1
- chainguard ansible-operator-fips (Chainguard): \< 1.42.2-r1 \| \< 1.42.2-r2
- chainguard apache-beam-python-3.11-sdk (Chainguard): \< 2.71.0-r8
- chainguard apache-beam-python-3.12-sdk (Chainguard): \< 2.71.0-r2
- chainguard apache-beam-python-3.13-sdk (Chainguard): \< 2.71.0-r2
- chainguard authentik (Chainguard): All versions (No fix recorded)
- chainguard authentik-fips (Chainguard): All versions (No fix recorded)
- chainguard awx (Chainguard): \< 24.6.1-r33
- chainguard az (Chainguard): \< 2.84.0-r4
- chainguard azure-functions-host-python3.11-worker (Chainguard): \< 4.1048.200-r1
- chainguard azure-functions-host-python3.12-worker (Chainguard): \< 4.1048.200-r1
- chainguard azure-functions-host-python3.13-worker (Chainguard): \< 4.1048.200-r1
- chainguard barman-cloudnative-pg (Chainguard): \< 3.18.0-r1
- chainguard checkov (Chainguard): \< 3.2.511-r0
- chainguard confluent-docker-utils (Chainguard): \< 0.0.169-r1

## References

- <https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2>
- <https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7>
- <https://github.com/psf/requests/releases/tag/v2.33.0>
- <https://security.alpinelinux.org/vuln/CVE-2026-25645>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20261218-1/>
- <https://bugzilla.suse.com/1260589>
- <https://www.suse.com/security/cve/CVE-2026-25645>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202621036-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202621063-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202622055-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202622091-1/>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25645>
- <https://github.com/psf/requests>
- <https://ubuntu.com/security/CVE-2026-25645>
- <https://www.cve.org/CVERecord?id=CVE-2026-25645>
- <https://ubuntu.com/security/notices/USN-8825-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-25645>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25645.json>

---

Data as of 2026-12-05T10:32:35.882Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
