CVE-2026-43968 in Ninenines Cowlib
Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values. cow_sse:event/1 in cowlib guards the id and event fields against \n but not against bare \r, and the internal prefix_lines/2 function used for data an...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Ninenines | Cowlib | ≥ 2.5.0, < 2.16.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values. cow_sse:event/1 in cowlib guards the id and event fields against \n but not against bare \r, and the internal prefix_lines/2 function used for data and comment fields splits only on \n. Because the SSE specification requires decoders to treat \r\n, \r, and \n as equivalent line terminators, an attacker who controls any of these fields can inject additional SSE lines and forge a complete event with an arbitrary event type and data payload on the receiving end. In typical deployments where browser EventSource clients or other SSE consumers dispatch on event.type and render event.data, this enables event splitting, client-side logic manipulation, and stored-XSS-equivalent behaviour when event data is inserted into the DOM. This issue affects cowlib: from 2.5.0 before 2.16.1.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-43968 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-270086-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N |
| Published | 2026-05-11 |
| Last modified | 2026-11-20 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-93: CWE-93
Related attack patterns (CAPEC)
CAPEC-81 Web Server Logs Tampering via CWE-93
CAPEC-15 Command Delimiters via CWE-93
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows Server-Sent Events (SSE) event splitting and injection via unvalidated field values.
The vulnerability exists in the cow_sse:event/1 function in cowlib, which guards the id and event fields against \n but not against bare \r. The internal prefix_lines/2 function used for data and comment fields splits only on \n. This allows attackers to inject CRLF sequences, leading to event splitting and potential injection attacks.
Questions
What is CVE-2026-43968?
Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows Server-Sent Events (SSE) event splitting and injection via unvalidated field values.
What is the CVSS score for CVE-2026-43968?
CVE-2026-43968 has CVSS 4.0 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N. EPSS: 0.5%.
Is CVE-2026-43968 actively exploited?
No confirmed active exploitation of CVE-2026-43968 as of 2026-11-21.
How do I remediate CVE-2026-43968?
Priority: MEDIUM. PSIRT: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
What systems are affected by CVE-2026-43968?
CVE-2026-43968 affects Ninenines Cowlib.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Ninenines","product":"Cowlib","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-20.