{"id":"EEF-CVE-2026-43969","aliases":["CVE-2026-43969","GHSA-g2wm-735q-3f56"],"title":"Cookie Request Header Injection via Unvalidated Encoder in cow_cookie:cookie/1","titleSource":"EEF","descriptionSource":"OSV","description":"## Summary\n\nImproper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows HTTP request splitting and cookie smuggling via unvalidated cookie name and value fields.\n\n`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.\n\nThis issue affects cowlib: from 2.9.0 before 2.21.0.\n\n## Workarounds\n\nValidate 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.\n\n## Configurations\n\nThe application must pass attacker-controlled bytes as cookie names or values to `cow_cookie:cookie/1`. Applications that construct cookie lists exclusively from trusted, application-controlled values are not affected.","severity":"low","score":2.1,"published":"2026-05-11T18:06:40.667Z","modified":"2026-11-25T17:23:06.874Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"cowlib","sources":[{"name":"OSV · EEF-CVE-2026-43969","url":"https://osv.dev/vulnerability/EEF-CVE-2026-43969"}],"ranges":[{"events":[{"introduced":"2.9.0"},{"fixed":"2.21.0"}],"type":"SEMVER"}],"versions":["2.10.0","2.10.1","2.11.0","2.12.0","2.12.1","2.13.0","2.14.0","2.15.0","2.16.0","2.16.1","2.17.0","2.17.1","2.18.0","2.19.0","2.20.0","2.9.0","2.9.1"],"fixed":["2.21.0"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"f017f8a0ecbffd5033d9ab49bf180186f7a523a7"},{"fixed":"c17fd73945ef536cccecc492d286fb6b6d1c3307"}],"type":"GIT","repo":"https://github.com/ninenines/cowlib"}],"versions":["2.20.0","2.19.0","2.18.0","2.17.1","2.17.0","2.16.1","2.16.0","2.15.0","2.14.0","2.13.0","2.12.1","2.12.0","2.11.0","2.10.1","2.10.0","2.9.1","2.9.0"]}],"references":["https://github.com/erlef/cowlib/commit/177953dd51540da11090666c1f007214127a1144","https://cna.erlef.org/cves/CVE-2026-43969.html","https://osv.dev/vulnerability/EEF-CVE-2026-43969","https://github.com/ninenines/cowlib/commit/f017f8a0ecbffd5033d9ab49bf180186f7a523a7","https://github.com/ninenines/cowlib/commit/c17fd73945ef536cccecc492d286fb6b6d1c3307","https://hex.pm/packages/cowlib"],"sources":[{"name":"CVE","id":"CVE-2026-43969","modified":"2026-11-19T08:44:11.677Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-43969"},{"name":"OSV","id":"EEF-CVE-2026-43969","modified":"2026-11-25T17:23:06.874925199Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-43969"}],"assessments":[{"source":"EEF","vector":"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","score":2.1},{"source":"OSV","vector":"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","score":2.1}],"cve":{"records":[{"id":"CVE-2026-43969","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-05-04T18:23:25.573Z","published":"2026-05-11T18:06:40.667Z","modified":"2026-11-19T08:44:11.677Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-19T08:44:11.677Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-05-11T18:55:26.121Z"}],"references":[{"url":"https://github.com/erlef/cowlib/commit/177953dd51540da11090666c1f007214127a1144","tags":["patch"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-43969.html","tags":["related","third-party-advisory"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-43969","tags":["related"],"source":"EEF"},{"url":"https://github.com/ninenines/cowlib/commit/f017f8a0ecbffd5033d9ab49bf180186f7a523a7","tags":["related"],"source":"EEF"},{"url":"https://github.com/ninenines/cowlib/commit/c17fd73945ef536cccecc492d286fb6b6d1c3307","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-93","description":"CWE-93 Improper Neutralization of CRLF Sequences","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*","versionEndExcluding":"2.21.0","versionStartIncluding":"2.9.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-05-11T18:55:16.028478Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ninenines","name":"cowlib","platforms":[],"versions":[{"version":"2.9.0","status":"affected","lessThan":"2.21.0","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/cowlib","packageIdentity":{"ecosystem":"Hex","name":"cowlib"},"cpes":["cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-43969"},{"vendor":"ninenines","name":"cowlib","platforms":[],"versions":[{"version":"f017f8a0ecbffd5033d9ab49bf180186f7a523a7","status":"affected","lessThan":"c17fd73945ef536cccecc492d286fb6b6d1c3307","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/ninenines/cowlib","cpes":["cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-43969"}],"remediation":[{"text":"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.","source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-43969"}],"observedAt":"2026-11-25T18:38:24.547Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T00:35:30.798Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-21T05:05:34.925Z","attemptedAt":"2026-11-21T05:05:34.925Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-21T04:55:33.537Z","attemptedAt":"2026-11-21T04:55:33.537Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-21T04:40:31.673Z","attemptedAt":"2026-11-21T04:40:31.673Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-21T04:20:35.344Z","attemptedAt":"2026-11-21T04:20:35.344Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-43969","url":"https://www.first.org/epss/","probability":0.00147,"percentile":0.04027,"date":"2026-11-20","checkedAt":"2026-11-21T04:20:35.344Z"},{"source":"ENISA EUVD","id":"EUVD-2026-29193","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-29193","modified":"Nov 19, 2026, 8:44:11 AM","score":2.1,"vector":"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","checkedAt":"2026-11-21T04:40:31.673Z"},{"source":"GitHub Advisory Database","id":"GHSA-g2wm-735q-3f56","url":"https://github.com/advisories/GHSA-g2wm-735q-3f56","modified":"2026-06-08T20:17:03Z","score":3.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N","checkedAt":"2026-11-21T04:55:33.537Z"},{"source":"NVD","id":"CVE-2026-43969","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43969","modified":"2026-10-26T20:10:00.160","score":2.1,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-21T05:05:34.925Z"},{"source":"NVD","id":"CVE-2026-43969","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43969","modified":"2026-10-26T20:10:00.160","score":3.2,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N","checkedAt":"2026-11-21T05:05:34.925Z"}],"aiSummary":null}