> CVE-2026-42874 [LOW]

« BACK_TO_HOME
PUBLISHED
2026-05-11 20:25
MODIFIED
2026-05-11 20:25
CVSS_SCORE V3
3.7
EPSS (Prob. Exploit)
0.22%
Top 88.0%
DATA SOURCES:
NVD 🔗 2026-05-11 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-01 GITHUB 🔗 2026-11-05 OSV 🔗 2026-11-02

> DESCRIPTION

Microdot is a minimalistic Python web framework. Prior to 2.6.1, the Response.set_cookie() method does not sanitize its string arguments, and in particular will not detect the presence of the \r\n sequence in them. This can be a potential source of header injection attacks. For a header injection attack through this issue to be possible, an attacker must first infiltrate the client (for example through an independent XSS attack), so that it can send malicious information that is destined to be stored in a cookie by the server on behalf of the victim. An attacker that infiltrates one client can only orchestrate a header injection attack for that client, all other clients that were not infiltrated are safe. This vulnerability is fixed in 2.6.1.

> AFFECTED_PRODUCTS

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

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
EXPLOITABILITY
2.2
IMPACT
1.4

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
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
Low (L)
Modification limitée 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é
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-113

> CWE DETAILED DESCRIPTIONS

CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers - The product receives data from an HTTP agent/component (e.g., web server, proxy, browser, etc.), but it does not neutralize or incorrectly neutralizes CR and LF characters before the data is included in outgoing HTTP headers.

> GITHUB SECURITY ADVISORY

GHSA-7wc8-wvc4-m498 LOW

Microdot has HTTP response splitting in Response.set_cookie()

AFFECTED PACKAGES:
PIP / microdot
< 2.6.1
Fixed in: 2.6.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Microdot: HTTP response splitting in Response.set_cookie()

AFFECTED PACKAGES:
Unknown / Unknown
48 versions affected
ALIASES:
GHSA-7wc8-wvc4-m498, PYSEC-2026-2646

> HISTORIQUE DES MODIFICATIONS

Première apparition
11/05/2026 20:25
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') - The product receives data from an HTTP agent/component (e.g., web server, proxy, browser, etc.)...
Nouvelle valeur:
CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers - The product receives data from an HTTP agent/component (e.g., web server, proxy, browser, etc.), but it does not neutralize or inco...
📊 ENRICHISSEMENT 01/06/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') - The product receives data from an HTTP agent/component (e.g., web server, proxy, browser, etc.)...
Total des modifications: 2 Dernière mise à jour: 6 days ago

> REFERENCES

https://github.com/miguelgrinberg/microdot/blob/main/CHANGES.md
https://github.com/miguelgrinberg/microdot/commit/99b281b45faef8472410f2d56bfef4...
https://github.com/miguelgrinberg/microdot/security/advisories/GHSA-7wc8-wvc4-m4...
« BACK_TO_HOME