CVE-2026-43969
Cookie Request Header Injection via Unvalidated Encoder in cow_cookie:cookie/1
Mitigation
- Upgrade cowlib to 2.21.0 or later.
- Vendor workaround: Validate inputs into cow_cookie:cookie/1 to only include valid cookie name and value characters as defined in RFC 6265 Section 4.1.1 before passing them to the function.
Who should check
- Anyone running ninenines cowlib >= 2.9.0, < 2.21.0
- Anyone running ninenines cowlib >= f017f8a0ecbffd5033d9ab49bf180186f7a523a7, < c17fd73945ef536cccecc492d286fb6b6d1c3307
Vulnerability facts
- Affected
- ninenines cowlib >= 2.9.0, < 2.21.0; ninenines cowlib >= f017f8a0ecbffd5033d9ab49bf180186f7a523a7, < c17fd73945ef536cccecc492d286fb6b6d1c3307
- Fixed in
- ninenines cowlib 2.21.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 2.1 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: Low
- Availability impact on other systems: None
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-93
- Modified
Description
Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows HTTP request splitting and cookie smuggling via unvalidated cookie name and value fields. cow_cookie:cookie/1 in cowlib builds a client-side Cookie: request header from a list of name-value pairs without validating either field. An attacker who controls the cookie names or values passed to this function can inject ;, ,, CR, LF, or TAB characters into the serialized header. This enables two classes of attack: cookie smuggling within a single header (e.g. injecting ; admin=1 to introduce a phantom cookie that the receiving server treats as authentic) and HTTP request header splitting (injecting CRLF to append arbitrary headers or smuggle a complete second request against a shared upstream proxy). The decoder side (parse_cookie_name/1, parse_cookie_value/1) and setcookie/3 already validate and reject these characters; the encoder alone is missing the check. This issue affects cowlib: from 2.9.0 before 2.21.0.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-43969. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-43969.md Affected: ninenines cowlib >= 2.9.0, < 2.21.0; ninenines cowlib >= f017f8a0ecbffd5033d9ab49bf180186f7a523a7, < c17fd73945ef536cccecc492d286fb6b6d1c3307 Fixed in: ninenines cowlib 2.21.0 Steps: 1. Search this machine and project for ninenines cowlib: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-43969 being exploited?
There is no confirmed exploitation: CVE-2026-43969 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-43969?
Low: CVSS 2.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-43969?
ninenines cowlib >= 2.9.0, < 2.21.0; ninenines cowlib >= f017f8a0ecbffd5033d9ab49bf180186f7a523a7, < c17fd73945ef536cccecc492d286fb6b6d1c3307.
Is there a fix for CVE-2026-43969?
Yes. Fixed in ninenines cowlib 2.21.0. Upgrade cowlib to 2.21.0 or later. Vendor workaround: Validate inputs into cow_cookie:cookie/1 to only include valid cookie name and value characters as defined in RFC 6265 Section 4.1.1 before passing them to the function.
How do I check if I'm affected by CVE-2026-43969?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.