{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-43971","id":"CVE-2026-43971","title":"Link Header Directive Smuggling via Unescaped target/rel/Attribute Keys in cow_link:link/1","description":"Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in cow_link:link/1.\n\ncow_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,","descriptionLong":"Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in cow_link:link/1.\n\ncow_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.\n\nThis issue affects cowlib: from 2.9.0 before 2.20.0.","published":"2026-08-18T09:01:53.199Z","updated":"2026-10-28T02:31:04.361933121Z","reserved":"2026-05-04T18:23:25.574Z","status":"Awaiting Analysis","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":6.3,"vector":"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","rating":"medium","source":"EEF"},"metrics":[{"version":"4.0","score":6.3,"vector":"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","rating":"medium","source":"EEF"},{"version":"4.0","score":6.3,"vector":"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","rating":"medium","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"}],"rating":"medium","products":["ninenines cowlib"],"affectedProducts":[{"vendor":"ninenines","product":"cowlib","defaultStatus":"unaffected","versions":[{"lessThan":"2.20.0","status":"affected","version":"2.9.0","versionType":"semver"}],"platforms":[]},{"vendor":"ninenines","product":"cowlib","defaultStatus":"unaffected","versions":[{"lessThan":"89da27ee4c241f5d649ba7d9b7f2188918af6cea","status":"affected","version":"485d58dfa91b91d98135dc95e5615f421715dae5","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-116"],"aliases":["EEF-CVE-2026-43971"],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-43971.html","tags":["related","third-party-advisory","advisory"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-43971","tags":["related","web"]},{"url":"https://github.com/ninenines/cowlib/commit/485d58dfa91b91d98135dc95e5615f421715dae5","tags":["related","fix"]},{"url":"https://github.com/ninenines/cowlib/commit/89da27ee4c241f5d649ba7d9b7f2188918af6cea","tags":["patch","fix"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43971.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43971","tags":["advisory"]},{"url":"https://github.com/ninenines/cowlib","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00524,"epssPercentile":0.45202,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-43971","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43971","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-43971","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-43971","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}