CVE-2026-66753
Received Received - Intake

HTTP Header Injection in tiny-http

Vulnerability report for CVE-2026-66753, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-28

Last updated on: 2026-07-28

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-28
Last Modified
2026-07-28
Generated
2026-07-28
AI Q&A
2026-07-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
tiny-http tiny-http to 0.12.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-113 The product receives data from an HTTP agent/component (e.g., web server, proxy, browser, etc.), but it does not neutralize or incorrectly neutralizes CR and LF characters before the data is included in outgoing HTTP headers.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-66753 is an HTTP header injection vulnerability in the tiny-http library up to version 0.12.0. It allows attackers to inject carriage return (0x0D) and line feed (0x0A) characters into HTTP header values due to insufficient validation during parsing and serialization. This can lead to response splitting, cache poisoning, session fixation, security header override, and request smuggling against line-feed-tolerant backends.

Detection Guidance

To detect this vulnerability, inspect HTTP traffic for header values containing CR (0x0D) or LF (0x0A) characters. Use tools like Wireshark or tcpdump to capture and analyze HTTP headers for unexpected line breaks. Check server logs for malformed requests or responses with split headers. Test applications using tiny-http 0.12.0 or earlier by sending crafted headers with CR/LF sequences and observing if they are reflected or split in responses.

  • Use curl to send test headers: curl -v -H "Test: value%0d%0aInjected-Header: test" http://target. Example shows how CR/LF may be processed.
  • Monitor for response splitting by checking if headers appear split across multiple lines in responses, indicating CRLF injection.
Impact Analysis

This vulnerability can allow attackers to manipulate HTTP headers, leading to attacks like response splitting, cache poisoning, session fixation via Set-Cookie injection, security header override, and request smuggling. If your application uses tiny-http versions up to 0.12.0, it may be vulnerable to these exploits.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by enabling session fixation, security header overrides, and cache poisoning. These attacks may lead to unauthorized access to sensitive data or manipulation of user sessions, which are critical concerns under both regulations.

Mitigation Strategies

Immediately upgrade tiny-http to a patched version beyond 0.12.0 if available. If upgrading is not possible, implement input validation to reject header values containing CR, LF, or null bytes during parsing. Modify the read_next_line, Header::from_str, or Header::from_bytes functions to enforce strict validation of header fields and values.

  • Apply network-level mitigations such as WAF rules to block requests with suspicious header patterns containing CR/LF sequences.
  • Audit all applications using tiny-http for exposure to header injection and test for potential exploitation vectors like request smuggling or response splitting.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-66753. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart