# CVE-2026-43971: Link Header Directive Smuggling via Unescaped target/rel/Attribute Keys in cow\_link:link/1

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-18 · Modified: 2026-09-16
- Aliases: RHSA-2026:66210, UBUNTU-CVE-2026-43971, DEBIAN-CVE-2026-43971
- Record: https://cvemate.com/vulnerability/CVE-2026-43971 · JSON: https://cvemate.com/vulnerability/CVE-2026-43971/json

## Description

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

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) 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
- EPSS: 0.384%, percentile 34.611%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian erlang-cowlib (Debian): \< 2.20.0-1
- ubuntu erlang-cowlib (Ubuntu): All versions (No fix recorded)
- ninenines cowlib: ≥ 2.9.0, \< 2.20.0 \| ≥ 485d58dfa91b91d98135dc95e5615f421715dae5, \< 89da27ee4c241f5d649ba7d9b7f2188918af6cea
- redhat rabbitmq-server4.3 (Red Hat): \< 0:4.3.5-1.1.hum1

## References

- <https://cna.erlef.org/cves/CVE-2026-43971.html>
- <https://osv.dev/vulnerability/EEF-CVE-2026-43971>
- <https://github.com/ninenines/cowlib/commit/485d58dfa91b91d98135dc95e5615f421715dae5>
- <https://github.com/ninenines/cowlib/commit/89da27ee4c241f5d649ba7d9b7f2188918af6cea>
- <https://access.redhat.com/errata/RHSA-2026:66210>
- <https://access.redhat.com/security/cve/CVE-2026-43971>
- <https://access.redhat.com/security/updates/classification/>
- <https://images.redhat.com/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_66210.json>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2517738>
- <https://www.cve.org/CVERecord?id=CVE-2026-43971>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-43971>
- <https://ubuntu.com/security/CVE-2026-43971>
- <https://security-tracker.debian.org/tracker/CVE-2026-43971>

---

Data as of 2026-12-05T09:38:16.299Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
