Skip to main content

tiny-http CVE-2026-66753

| EUVDEUVD-2026-49883 MEDIUM
HTTP Response Splitting (CWE-113)
2026-07-28 disclosure@vulncheck.com GHSA-5wm6-g4fr-88x8
6.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Send crafted HTTP request with CRLF in header
  2. Delivery
    tiny-http header parser fails to validate
  3. Exploit
    Inject malicious headers into response
  4. Execution
    Response splitting occurs
  5. Persist
    Execute cache poisoning or session fixation
  6. Impact
    Impact on users of vulnerable service

Vulnerability Assessment

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

The vulnerability requires that tiny-http is used to parse HTTP requests and construct responses, and that attacker-controlled header values are included in HTTP headers without validation. The attack vector is network, low complexity, and requires no privileges or user interaction. However, the CVSS 4.0 attack requirements (AT:P) indicate a non-default condition is needed-likely that the application reflects user-supplied header values or uses headers that are influenced by attacker input. The vulnerability affects both request and response sides. Limiting factors: The injection is only exploitable against backends that are tolerant of malformed headers; strictly compliant parsers may reject the injected bytes.

Impact

CVSS 4.0 base score is 6.3 with vector AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N, indicating network exploitation with low complexity but presence of attack requirements (conditional on library usage). No EPSS score or CISA KEV status provided. Public proof-of-concept exists, but no evidence of active exploitation. The CVSS integrity impact is low, and no confidentiality or availability impact is expected. The risk is moderate and contextual-critical if the library is used in a caching proxy or session-handling service, but low if the library is not used in sensitive contexts. Missing data: EPSS score and vendor patch availability are not known.

Exploit ScenarioDerived

An attacker sends an HTTP request to a server using tiny-http, with a crafted header such as 'User-Agent: Mozilla/5.0\r\nSet-Cookie: session=malicious'. The server processes the request and reflects the header value in a response, causing the injected CRLF to split the response. This allows the attacker to perform response splitting, enabling cache poisoning or session fixation against users of the vulnerable server. Public proof-of-concept code is available, lowering the skill barrier for exploitation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 28, 2026

Header injection vulnerability in tiny-http through version 0.12.0 allows attackers to inject CRLF bytes into HTTP header values, enabling response splitting, cache poisoning, and session fixation. No active exploitation reported, but proof-of-concept code is publicly available in a GitHub repository. The library's insufficient validation of header values enables this injection primitive against line-feed-tolerant backends.

RemediationAI

No vendor-released patch identified at time of analysis. As a workaround, implement strict input validation on all header values by stripping or rejecting carriage return (0x0D) and line feed (0x0A) bytes before passing them to tiny-http's header parsing functions. Additionally, ensure that any application-level header generation (e.g., reflecting user input) sanitizes output. Consider replacing tiny-http with an actively maintained HTTP library that enforces proper CRLF handling. These mitigations may require code changes but do not affect basic HTTP functionality; however, removing support for legitimate multi-line headers (though rare) could break some backends. Regularly monitor the tiny-http repository for future security patches.

Affected VersionsENISA

tiny-http 0 ≤0.12.0

Affected Packages

euvd tiny_http no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The vulnerability is a CRLF injection (CWE-113) in the HTTP header parsing and serialization logic of tiny-http, a Rust library for handling HTTP requests and responses. The library fails to strip or reject carriage return (0x0D) and line feed (0x0A) bytes from header values, allowing attackers to inject arbitrary headers and body content. This injection occurs at the protocol level, affecting both request and response headers. The CPE data is not available, but the affected product is the tiny-http crate up to version 0.12.0. The root cause is insufficient input validation, a classic class of injection vulnerabilities in text-based protocols.

Know when the next one hits your stack

  • 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 (vulncheck) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Network attack vector, low complexity, no privileges required, no user interaction, low integrity impact only.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

tiny-http through 0.12.0 contains an HTTP header injection vulnerability that allows attackers to inject carriage return (0x0D) and line feed (0x0A) bytes into HTTP header values on both request and response sides due to insufficient validation in header parsing and serialization. Attackers can exploit this injection primitive to perform response splitting, cache poisoning, session fixation via Set-Cookie injection, security header override, and request smuggling against line-feed-tolerant backends.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
Niche Rust HTTP library, limited deployment
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

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