1. Archivio CVE
  2. 2026
  3. CVE-2026-15806

CVE-2026-15806

6 Gravità media CVSS v4.0 · fonte NVD CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 6 – Media

Descrizione

The HTTPPasswordMgr class in the urllib.request module, along with its subclasses HTTPPasswordMgrWithDefaultRealm and HTTPPasswordMgrWithPriorAuth, did not take the URL scheme into account when matching stored credentials against a requested URL. Credentials added for an https:// URL were also used for requests to the same host over http://, so an attacker able to redirect or downgrade a client to plain HTTP (for example, via an HTTPS-to-HTTP redirect or an on-path position) could capture credentials in cleartext. Credentials added for http:// URLs could likewise be sent over https://. Credential matching is now scoped by URL scheme. Credentials registered with a URL that includes a scheme are only used for requests with the same scheme. Credentials registered with a bare authority (such as example.com or example.com:8080) continue to match any scheme, preserving compatibility with existing code, including proxy authentication. Users who cannot upgrade immediately can mitigate by ensuring that applications never make plain http:// requests to hosts for which credentials are registered, for example by not following redirects to http:// URLs.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
python software foundation cpython < 3.10.22 –
python software foundation cpython >= 3.11.0 < 3.11.17 –
python software foundation cpython >= 3.12.0 < 3.12.15 –
python software foundation cpython >= 3.13.0 < 3.13.16 –
python software foundation cpython >= 3.14.0 < 3.14.8 –
python software foundation cpython >= 3.15.0a1 < 3.15.0rc2 –
Tutte le 64 vulnerabilità di Python Software Foundation Cpython

Tipo di vulnerabilità

CWE-319 Trasmissione in chiaro di informazioni sensibili

Il prodotto trasmette dati sensibili o critici per la sicurezza senza cifrarli, su un canale che può essere intercettato.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza Leggere i dati dell’applicazione, Modificare file o cartelle
Integrità, Riservatezza Leggere i dati dell’applicazione, Modificare file o cartelle, Altro

Come si previene

Architettura e progettazione Before transmitting, encrypt the data using reliable, confidentiality-protecting cryptographic protocols.
Sviluppo When using web applications with SSL, use SSL for the entire session from login to logout, not just for the initial login page.
Sviluppo When designing hardware platforms, ensure that approved encryption algorithms (such as those recommended by NIST) protect paths from security critical data to trusted user applications.
Test Usa strumenti e tecniche che richiedono un’analisi manuale, come i penetration test, la modellazione delle minacce e strumenti interattivi che permettono a chi testa di registrare e modificare una sessione attiva. Possono essere più efficaci delle tecniche solo automatiche, soprattutto per gli errori legati alla progettazione e alle regole di business.
Esercizio Configure servers to use encrypted channels for communication, which may include SSL or other secure protocols.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 941 CVE di tipo CWE-319, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org