Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Microdot versions before 2.6.1 do not sanitize string arguments passed to Response.set_cookie(), so a value containing a \r\n sequence is not detected and can enable HTTP header injection. An attacker would first need to compromise a victim's client, for example through a separate XSS attack, and could then inject headers only for that client. Upgrade to Microdot 2.6.1. As a workaround, avoid passing untrusted data to Response.set_cookie().
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 3.7 | Low | 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0022, the 12th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:01 UTC First seen by agentprime
- 31 Oct 2026, 15:01 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-7wc8-wvc4-m498
- OSV: GHSA-7wc8-wvc4-m498
- github.com/miguelgrinberg/microdot/security/advisories/GHSA-7wc8-wvc4-m498
- nvd.nist.gov/vuln/detail/CVE-2026-42874
- github.com/miguelgrinberg/microdot/commit/99b281b45faef8472410f2d56bfef496dfbd95d5
- github.com/miguelgrinberg/microdot
- github.com/miguelgrinberg/microdot/blob/main/CHANGES.md