# CVE-2026-43969: Cookie Request Header Injection via Unvalidated Encoder in cow\_cookie:cookie/1

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.1
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **CWE:** CWE-93
- **Published:** 2026-05-11T18:06:40.667Z
- **Modified:** 2026-11-19T08:44:11.677Z

## Who should check

- Anyone running ninenines cowlib \>= 2.9.0, \< 2.21.0
- Anyone running ninenines cowlib \>= f017f8a0ecbffd5033d9ab49bf180186f7a523a7, \< c17fd73945ef536cccecc492d286fb6b6d1c3307

## 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

- ninenines cowlib: \>= 2.9.0, \< 2.21.0 (cvelist)
- ninenines cowlib: \>= f017f8a0ecbffd5033d9ab49bf180186f7a523a7, \< c17fd73945ef536cccecc492d286fb6b6d1c3307 (cvelist)

## 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://cna.erlef.org/cves/CVE-2026-43969.html>
- patch: <https://github.com/erlef/cowlib/commit/177953dd51540da11090666c1f007214127a1144>
- patch: <https://github.com/ninenines/cowlib/commit/f017f8a0ecbffd5033d9ab49bf180186f7a523a7>
- patch: <https://github.com/ninenines/cowlib/commit/c17fd73945ef536cccecc492d286fb6b6d1c3307>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-43969>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43969>

HTML: <https://flawdb.com/CVE-2026-43969> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43969>
