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

- Severity: Low 2.1 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-05-11T18:06:40.667Z
- Modified: 2026-11-25T17:23:06.874Z
- Also known as: GHSA-g2wm-735q-3f56, EEF-CVE-2026-43969
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

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

(As written by CVE List.)

## Affected

- cowlib: from 2.9.0 before 2.21.0
- ninenines/cowlib: from f017f8a0ecbffd5033d9ab49bf180186f7a523a7 before c17fd73945ef536cccecc492d286fb6b6d1c3307
- cowlib (Hex): from 2.9.0 up to 2.16.1; from 2.9.0 before 2.21.0
- https://github.com/ninenines/cowlib: from f017f8a0ecbffd5033d9ab49bf180186f7a523a7 before c17fd73945ef536cccecc492d286fb6b6d1c3307
- ninenines cowlib: from 2.9.0 up to 2.16.1

## Every score

- EEF: CVSS:4.0 2.1 Low `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`
- GitHub: CVSS:3.1 3.2 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Low `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`
- NVD: CVSS:3.1 3.2 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N`

## References

- <https://github.com/erlef/cowlib/commit/177953dd51540da11090666c1f007214127a1144> (fix, patch, web)
- <https://cna.erlef.org/cves/CVE-2026-43969.html> (related, third-party-advisory, vendor-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-43969> (related, third-party-advisory, web)
- <https://github.com/ninenines/cowlib/commit/f017f8a0ecbffd5033d9ab49bf180186f7a523a7> (related, web)
- <https://github.com/ninenines/cowlib/commit/c17fd73945ef536cccecc492d286fb6b6d1c3307> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-43969> (advisory)
- <https://github.com/ninenines/cowlib> (package)
- <https://hex.pm/packages/cowlib> (package)

## Sources

- CVE List: [CVE-2026-43969](https://www.cve.org/CVERecord?id=CVE-2026-43969), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-g2wm-735q-3f56](https://github.com/advisories/GHSA-g2wm-735q-3f56), CC-BY-4.0, modified 2026-06-08
- Erlang Ecosystem Foundation: [EEF-CVE-2026-43969](https://osv.dev/vulnerability/EEF-CVE-2026-43969), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-43969](https://nvd.nist.gov/vuln/detail/CVE-2026-43969), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-43969 · Whole record: https://cve.day/CVE-2026-43969.json · Rebuilt by cve.day 2026-11-25T22:59:21.246Z
