Erlang OTP: HTTP Request Smuggling (CVE-2026-23941)
Erlang OTP contains an HTTP Request Smuggling vulnerability in the inets httpd module, arising from the failure to reject or normalize duplicate Content-Length headers, which facilitates front-end/back-end desynchronization.
CVE search metadata
CVE search record: CVE-2026-23941. Severity: critical. CVSS: 9.4. EPSS: 0.51%. KEV: no. Product: inets (>= 5.10, < 9.1.0.5; >= 9.3, < 9.3.2.3; >= 9.6, < 9.6.1), OTP (>= 17.0, < 26.2.5.18; >= 27.0, < 27.3.4.9; >= 28.0, < 28.4.1). Brief: Erlang OTP: HTTP Request Smuggling (CVE-2026-23941). Brief link: https://feed.craftedsignal.io/briefs/2026-11-erlang-otp-smuggling-cve-2026-23941/
Triage facts
Revision 1- Applicability
- inets (>= 5.10, < 9.1.0.5; >= 9.3, < 9.3.2.3; >= 9.6, < 9.6.1), OTP (>= 17.0, < 26.2.5.18; >= 27.0, < 27.3.4.9; >= 28.0, < 28.4.1)
- Evidence
- Unknown
- Severity
- Critical
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 20, 08:17 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A2Roughly even chance
Overview
Erlang OTP contains an HTTP Request Smuggling vulnerability in the inets httpd module (CVE-2026-23941). The vulnerability resides in file lib/inets/src/http_server/httpd_request.erl and routine httpd_request:parse_headers/7. The server uses the earliest Content-Length header for body parsing, while common reverse proxies (e.g., nginx, Apache httpd, Envoy) honor the last Content-Length value. This violates RFC 9112 Section 6.3 and allows attacker-controlled bytes to be queued as the start of the next request.
Attack Chain
An attacker sends a specially crafted HTTP request with duplicate Content-Length headers to a system where a front-end proxy and an Erlang back-end interpret the request headers differently. This desynchronization leaves attacker-controlled bytes queued as the start of the next request.
Impact
Successful exploitation facilitates front-end/back-end desynchronization, which allows for unauthorized request injection.
Recommendation
- Upgrade to the following fixed versions: OTP 26.2.5.18, 27.3.4.9, or 28.4.1 (corresponding to inets 9.1.0.5, 9.3.2.3, and 9.6.1).
- Configure frontend proxies to reject requests with duplicate Content-Length headers.
- Disable HTTP keep-alive on httpd by adding {keep_alive, false} to the configuration (note: this impacts performance for clients making multiple requests).
- Deploy a Web Application Firewall (WAF) configured to reject requests with multiple Content-Length headers.