
CVE catalog
CVE-2026-43971
Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in cow_link:link/1. cow_link:do_link/1 in cowlib inte
- Severity
- Medium · CVSS 6.3
CVSS:4.0/AV:N/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 - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.52% · Oct 25, 2026
Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in cow_link:link/1. cow_link:do_link/1 in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized Link: header value without escaping or token-grammar validation. A > byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A " or \ in rel escapes the quoted string and opens new parameters. Any byte — including whitespace, =, and " — in an attribute key is emitted verbatim. Because browsers act on Link: directives such as rel="preconnect", rel="preload", and rel="prerender", an attacker who can influence these fields in an application that round-trips parsed Link headers through cow_link:link/1 can force victim browsers to make out-of-band connections to attacker-controlled origins. This issue affects cowlib: from 2.9.0 before 2.20.0.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | erlang-cowlib | sid | 2.21.0-1 | fixed |
| Debian | erlang-cowlib | forky | 2.21.0-1 | fixed |
| Debian | erlang-cowlib | trixie | 1.3.0-3 | not affected |
| Debian | erlang-cowlib | bookworm | 1.3.0-3 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | erlang-cowlib | source | sid | 2.20.0-1 | not yet assigned | Not reported | [1145197] |
| Debian | erlang-cowlib | source | forky | 2.20.0-1 | not yet assigned | Not reported | [1145197] |
| Debian | erlang-cowlib | source | trixie | Not affected | unimportant | Not reported | [1145197] |
| Debian | erlang-cowlib | source | bookworm | Not affected | unimportant | Not reported | [1145197] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [erlang-cowlib]Not affected
Details (2)
1.3.0-3· arm64 · bookwormNot affected
nvd · erlang-cowlib · debian · bookworm
1.3.0-3+b1· amd64 · bookwormNot affected
nvd · erlang-cowlib · debian · bookworm
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-43971]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-43971]
- [https://security-tracker.debian.org/tracker/CVE-2026-43971]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43971.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]