Skip to main content
VulnerabilityPublished Updated

CVE-2026-42874: miguelgrinberg microdot · HTTP Request/Response Splitting

Affects miguelgrinberg microdotSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 3.7 Low : upgrade to 2.6.1 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.6.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade miguelgrinberg microdot to 2.6.1.

Affected software

ProductAffectedFixed in
miguelgrinbergmicrodotAffected
  • <2.6.1
Fixed in
  • 2.6.1
PyPImicrodotpkg:pypi/microdotOther threatsAffected
  • <2.6.1
Fixed in
  • 2.6.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade microdot to version 2.6.1 or later, where the Response.set_cookie() method properly sanitizes input to prevent CRLF injection. Since this is an official fix, applying the update fully mitigates the vulnerability. Patch status is not explicitly stated in the advisory, but the fix is confirmed in version 2.6.1.

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.

References

Community reviews

Loading reviews…