Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in… (CVE-2026-43971)

0
Medium
Published: 08/18/2026 (08/18/2026, 09:30:27 UTC)
Source: GCVE Database

Description

CVE-2026-43971 is an improper encoding or escaping vulnerability in the ninenines cowlib library affecting the cow_link:link/1 function. The vulnerability allows special characters in Link header fields to be unescaped, enabling an attacker to smuggle additional Link header directives. This can cause victim browsers to perform unintended out-of-band connections to attacker-controlled origins. The issue affects cowlib versions from 2.9.0 onward. No patch or official fix status is currently confirmed.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
Scope
X
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

Affected software

cowlib
pkg:hex/cowlib
Affected versions
>=2.9.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/18/2026, 13:43:37 UTC

Technical Analysis

The vulnerability in ninenines cowlib arises from the cow_link:do_link/1 function interpolating the target URI, rel value, and attribute keys directly into the serialized Link header without proper escaping or token-grammar validation. Specifically, a '>' byte prematurely closes the URI slot, allowing injection of additional link entries with attacker-chosen rel directives. Similarly, '"' or '\' characters in the rel value escape the quoted string, opening new parameters, and any byte in attribute keys is emitted verbatim. Because browsers act on Link header directives such as rel="preconnect", rel="preload", and rel="prerender", an attacker controlling these fields can force browsers to make out-of-band connections to attacker-controlled origins. This vulnerability affects cowlib versions from 2.9.0 onward.

Potential Impact

An attacker who can influence the Link header fields processed by cow_link:link/1 can inject malicious Link directives that cause victim browsers to initiate unintended network connections to attacker-controlled servers. This can lead to privacy violations, information leakage, or other side-channel attacks. The vulnerability does not require user interaction and can be exploited remotely over the network. However, no known exploits are reported in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using cow_link:link/1 with untrusted input or sanitize and validate all inputs to ensure special characters are properly escaped before inclusion in Link headers.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-gg23-fwhr-prjh
Osv Schema Version
1.4.0
Aliases
["CVE-2026-43971"]
Ecosystems
[]
Database Specific Severity
MODERATE
Cvss Version
4.0

Threat ID: 6a8460a2c6e8be033245a897

Added to database: 08/18/2026, 13:39:46 UTC

Last enriched: 08/18/2026, 13:43:37 UTC

Last updated: 08/18/2026, 19:49:15 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses