Skip to main content

CrowCpp Crow EUVDEUVD-2026-34020

| CVE-2026-38967 CRITICAL
HTTP Response Splitting (CWE-113)
2026-06-02 mitre GHSA-jjvh-j394-wqm7
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Crow-based endpoint reflecting input into header
  2. Delivery
    Craft request with CRLF-encoded payload in parameter
  3. Exploit
    Server emits split response with injected headers
  4. Execution
    Cache or browser parses smuggled headers/body
  5. Impact
    Achieve cache poisoning, session fixation, or reflected XSS

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTTP response header sanitization
Exploitation Conditions

Exploitation requires a Crow-based application (versions through v1.3.1) that passes attacker-influenceable data (query string, header, cookie, form field, or database value originally sourced from user input) directly into Crow's response header setters such as res.set_header() or res.add_header() - the framework flaw alone is not exploitable without such a sink in the embedding application. No authentication or user interaction is required at the HTTP layer per the CVSS vector (AV:N/AC:L/PR:N/UI:N), provided the vulnerable reflection sink is reachable on a public endpoint. Limiting factors: applications that only emit static or strictly-typed header values (e.g., numeric, enum, framework-generated) are not exploitable; intermediaries (nginx, CDNs) that normalize or reject CRLF in upstream responses will neutralize the attack; and impact is bounded by what the downstream client (browser, cache) does with the smuggled headers.

Impact

The CVSS 9.8 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H) rating overstates the practical risk for most deployments and conflicts with the other available signals. EPSS is 0.02% (5th percentile), the CVE is not in CISA KEV, and no public exploit code has been observed - this is a library-level weakness whose exploitability is entirely dependent on whether the embedding C++ application actually passes attacker-controlled, unsanitized data into Crow's header APIs. Where such a sink exists, real-world impact is typically response splitting, cache poisoning, session fixation, or reflected XSS rather than full confidentiality/integrity/availability compromise, so the CVSS C:H/I:H/A:H scoring should be treated skeptically and re-evaluated per application. The CPE is listed as the generic n/a placeholder, which means automated asset matching will miss vulnerable deployments - defenders must inventory Crow usage manually. Net assessment: a legitimate framework hardening issue worth patching promptly, but not an emergency priority absent a known vulnerable downstream application.

Exploit ScenarioDerived

An attacker identifies an endpoint in a Crow-based web service that reflects a query parameter, cookie, or username into a response header (for example, a custom X-Username or Location header). They submit a request whose parameter value contains URL-encoded CRLF followed by injected headers such as Set-Cookie or a complete second HTTP response, causing the victim's browser or an intermediate cache to interpret the smuggled content - enabling session fixation, cache poisoning of a high-traffic URL, or reflected XSS via an injected Content-Type and body. No public exploit identified at time of analysis, but the fix PR ships a minimal proof-of-concept program (helloworld_inject.cpp) demonstrating the unsafe call pattern.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 03, 2026

HTTP response header injection in CrowCpp Crow through v1.3.1 allows remote attackers to inject arbitrary CR/LF sequences into response headers when application code passes unvalidated input to header-setting APIs. The flaw stems from the framework not stripping \r\n characters in header keys or values, enabling CRLF injection that can lead to response splitting, cache poisoning, or XSS depending on how the embedding application uses user input. No public exploit identified at time of analysis and EPSS is very low (0.02%), but the upstream fix in PR #1167 confirms the issue and provides a sanitization routine.

RemediationAI

Upstream fix available via GitHub PR https://github.com/CrowCpp/Crow/pull/1167, which adds a sanitize_header_value() routine that strips \r and \n from header keys and values in both http_request.h and http_response.h; a released patched version is not independently confirmed in the provided data, so consumers should pull the post-PR-1167 commit from the CrowCpp/Crow repository and rebuild, or wait for a tagged release after v1.3.1. As a code-level workaround until the upgrade lands, audit every call site that invokes res.set_header(), res.add_header(), or request header setters with non-literal data and wrap the value with an equivalent strip of \r and \n before passing it in - note this requires source changes and a rebuild since Crow is header-only. At the perimeter, a reverse proxy or WAF (nginx, HAProxy, Envoy, ModSecurity) can be configured to drop or reject upstream responses containing bare CRLF inside header values, with the trade-off that strict header validation may break legitimate multi-line legacy headers and adds an extra hop. Avoid disabling Crow's header API as a mitigation since that would break normal application functionality.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Crow is a C++ header-only micro web framework (similar in design to Python's Flask) used to build HTTP servers and REST APIs in C++ applications. The root cause is CWE-113 (Improper Neutralization of CRLF Sequences in HTTP Headers / HTTP Response Splitting): the framework's response and request header setters in include/crow/http_response.h and include/crow/http_request.h accepted arbitrary strings as header keys and values without filtering carriage-return (\r) or line-feed (\n) bytes. Because HTTP uses CRLF as a delimiter between headers and between headers and the body, an attacker-controlled value containing \r\n can terminate the current header early and inject additional headers or even a full second response. The upstream patch (PR #1167) introduces a sanitize_header_value() helper that strips \r and \n from both keys and values at the point where headers are set, and adds a demonstration example (helloworld_inject.cpp) showing the unsafe set_header("X-Custom", "safe\r\nInjected: yes") pattern.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (mitre) · only source for this CVE.

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Jun 03, 2026 - 18:22 NVD
9.8 (CRITICAL)
CVE Published
Jun 02, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

CrowCpp Crow through v1.3.1 HTTP is vulnerable to response header injection via unvalidated response header values.

Executive ViewAI

Why It Matters

CrowCpp Crow web framework through version 1.3.1 contains a critical HTTP response header injection vulnerability (CVE-2026-38967) that allows remote attackers to inject arbitrary content into response headers when applications pass unvalidated user input to Crow's header-setting APIs. This could enable cross-site scripting attacks, HTTP response splitting, and cache poisoning. Organizations using Crow-based web applications must immediately inventory affected systems and implement input validation controls, as no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Recommended interim mitigations: (1) Apply input sanitization as detailed in upstream PR #1167-strip CR (\r) and LF (\n) characters from all user input before passing to Crow header-setting functions; (2) Implement Web Application Firewall rules to block requests containing CR/LF sequences; (3) Conduct code review of applications to identify and isolate header-setting logic accepting user input; (4) Consider temporary restrictions on dynamic header generation from user input where business logic permits.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy