CVE-2026-66752

tiny-http 0.12.0 HTTP Request Smuggling via Transfer-Encoding Handling

Published Jul 28, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
tiny-http through 0.12.0 contains an HTTP request smuggling vulnerability that allows remote attackers to desynchronize request framing by sending a Transfer-Encoding header with any value, including non-chunked codings, which causes the library to unconditionally apply chunk-decoding and discard Content-Length. Attackers can exploit the discrepancy between tiny_http's improper Transfer-Encoding parsing and a correctly-implemented front-end proxy to produce two distinct interpretations of a single byte stream, enabling request smuggling, and can additionally send non-chunked bodies with non-chunked Transfer-Encoding values to cause failed body reads that tie up connections and consume worker threads without signaling errors to clients.

Analysis

AI-generated

Technical impact

tiny‑http through version 0.12.0 improperly parses the Transfer‑Encoding header by unconditionally applying chunk decoding and discarding the Content‑Length value. A remote attacker can send a Transfer‑Encoding header with any value, including non‑chunked codings, causing the library to interpret the incoming byte stream differently from a correctly‑implemented front‑end proxy. This desynchronization allows the attacker to smuggle additional HTTP requests to the backend application and, if non‑chunked bodies are paired with non‑chunked Transfer‑Encoding values, can cause failed body reads that tie up connections and consume worker threads without returning an error to the client.

Affected Systems

All installations of tiny‑http through version 0.12.0 are affected. No later versions are listed as vulnerable. The vulnerability resides in the HTTP request handling component of the library.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity, while the EPSS score of less than 1 % suggests a low likelihood of exploitation at the time of analysis. The vulnerability is not included in the CISA KEV catalog. Based on the description, the likely attack vector is a remote network attacker who can reach the tiny‑http instance behind a correctly‑configured front‑end proxy and craft a malicious Transfer‑Encoding header. If the proxy forwards the header to tiny‑http, the attacker can split the request into two distinct stream interpretations, achieving request smuggling. Additionally, by sending malformed bodies with non‑chunked Transfer‑Encoding values, the attacker can trigger resource exhaustion that may degrade service availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade tiny‑http to a patched version (≥ 0.13.0) if available.
  • If an upgrade is not possible, configure the front‑end or reverse proxy to reject or strip any Transfer‑Encoding header before passing traffic to tiny‑http, ensuring the library never receives malformed values.
  • Implement logging and alerts for unexpected or non‑chunked Transfer‑Encoding headers, and block or reset connections that present them.
  • Increase the worker thread pool size or apply rate limiting to mitigate resource exhaustion caused by malformed request bodies.

Generated by OpenCVE AI on August 3, 2026 at 14:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Tiny-http Project
Tiny-http Project tiny-http
CPEs cpe:2.3:a:tiny-http_project:tiny-http:*:*:*:*:*:node.js:*:*
Vendors & Products Tiny-http Project
Tiny-http Project tiny-http
Type Values Removed Values Added
First Time appeared Tinyhttpd
Tinyhttpd tinyhttpd
Vendors & Products Tinyhttpd
Tinyhttpd tinyhttpd
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
Description tiny-http through 0.12.0 contains an HTTP request smuggling vulnerability that allows remote attackers to desynchronize request framing by sending a Transfer-Encoding header with any value, including non-chunked codings, which causes the library to unconditionally apply chunk-decoding and discard Content-Length. Attackers can exploit the discrepancy between tiny_http's improper Transfer-Encoding parsing and a correctly-implemented front-end proxy to produce two distinct interpretations of a single byte stream, enabling request smuggling, and can additionally send non-chunked bodies with non-chunked Transfer-Encoding values to cause failed body reads that tie up connections and consume worker threads without signaling errors to clients.
Title tiny-http 0.12.0 HTTP Request Smuggling via Transfer-Encoding Handling
Weaknesses CWE-444
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L'}

Weaknesses
  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 4:50 PM
Reserved
Jul 27, 2026, 4:27 PM
Status
Deferred
Published
Jul 28, 2026, 4:20 PM
Modified
Jul 30, 2026, 8:03 PM