Metrics
Affected Vendors & Products
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-gc5v-m9x4-r6x2 | Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function |
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
Wed, 25 Mar 2026 20:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Wed, 25 Mar 2026 17:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Requests is a HTTP library. Prior to version 2.33.0, the function `requests.utils.extract_zipped_paths()` (which is used by `HTTPAdapter.cert_verify()` to load the CA bundle, often from the `certifi` package's zipapp structure) uses a predictable, non-unique filename (the basename of the file, e.g., `cacert.pem`) when attempting to extract files into the system's temporary directory (`/tmp`). The vulnerable logic performs a check to see if the target file already exists in `/tmp` and re-uses the existing file if found, instead of securely checking the file's content or ensuring atomic, unique extraction. This allows a Local Attacker to pre-create a malicious CA bundle file (e.g., `/tmp/cacert.pem`) before a vulnerable application (running with potentially higher privileges) initializes the `requests` library. Version 2.33.0 contains a patch. | |
| Title | Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function | |
| Weaknesses | CWE-377 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-03-25T20:09:40.551Z
Reserved: 2026-02-04T05:15:41.791Z
Link: CVE-2026-25645
Updated: 2026-03-25T20:09:37.239Z
Status : Received
Published: 2026-03-25T17:16:52.970
Modified: 2026-03-25T17:16:52.970
Link: CVE-2026-25645
No data.
OpenCVE Enrichment
No data.
Github GHSA