> CVE-2026-25645 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-03-25 17:16
MODIFIED
2026-03-25 17:16
CVSS_SCORE V3
4.4
EPSS (Prob. Exploit)
0.19%
Top 91.4%
DATA SOURCES:
NVD 🔗 2026-03-25 RED HAT 🔗 2026-03-29 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-05 OSV 🔗 2026-11-01 MSRC 🔗 2026-11-02

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

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
EXPLOITABILITY
0.8
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-377

> CWE DETAILED DESCRIPTIONS

CWE-377: DEPRECATED: Insecure Temporary File - This entry has been deprecated. It was focused only on the affected resource (temporary file) and not the behavior or mistake that produced the insecure temporary file, which caused confusion and incorrect mappings.

> RED HAT SECURITY ADVISORIES

Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.18.27 security, enhancement & bug fix update
Red Hat OpenShift Data Foundation 4.18.27 security, enhancement & bug fix update
Red Hat Security Advisory: Red Hat AI Inference Model Optimization Tools 3.4.4 (cuda)
Red Hat AI Inference Model Optimization Tools 3.4.4 (cuda) is now available.
Red Hat Security Advisory: Red Hat Enterprise Linux AI 3.4.4 enhancement update
Updated Red Hat Enterprise Linux AI 3.4.4 container images are now available.
Red Hat Security Advisory: Red Hat Enterprise Linux AI 3.4.4 enhancement update
Updated Red Hat Enterprise Linux AI 3.4.4 container disk images are now available.

> RED HAT SEVERITY ASSESSMENT

THREAT SEVERITY
Moderate

> GITHUB SECURITY ADVISORY

GHSA-gc5v-m9x4-r6x2 MODERATE

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

AFFECTED PACKAGES:
PIP / requests
< 2.33.0
Fixed in: 2.33.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
121 versions affected
ALIASES:
GHSA-gc5v-m9x4-r6x2, PYSEC-2026-2275

> HISTORIQUE DES MODIFICATIONS

Première apparition
25/03/2026 17:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-377: Insecure Temporary File - Creating and using insecure temporary files can leave application and system data vulnerable to attack.
Nouvelle valeur:
CWE-377: DEPRECATED: Insecure Temporary File - This entry has been deprecated. It was focused only on the affected resource (temporary file) and not the behavior or mistake that prod...
📊 ENRICHISSEMENT 01/04/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-377: Insecure Temporary File - Creating and using insecure temporary files can leave application and system data vulnerable to attack.
📊 ENRICHISSEMENT 29/03/2026 05:01
REDHAT
Champ modifié: Sévérité Red Hat
Ancienne valeur:
N/A
Nouvelle valeur:
{ "threat_severity": "Moderate", "severity_scale": null }
📊 ENRICHISSEMENT 29/03/2026 05:01
REDHAT
Champ modifié: Red Hat
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 4 Dernière mise à jour: 1 week ago

> REFERENCES

https://github.com/psf/requests/commit/66d21cb07bd6255b1280291c4fafb71803cdb3b7
https://github.com/psf/requests/releases/tag/v2.33.0
https://github.com/psf/requests/security/advisories/GHSA-gc5v-m9x4-r6x2
« BACK_TO_HOME