7.0high
Request smuggling via first-wins Content-Length parsing in inets httpd
- Severity
- 7.0high CVSS:4.0 by EEF
- Exploit likelihood
- 0.51% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- EEF
- Also known as
- EEF-CVE-2026-23941GHSA-w4jc-9wpv-pqh7
Description
Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling') vulnerability in Erlang OTP (inets httpd module) allows HTTP Request Smuggling. This vulnerability is associated with program files lib/inets/src/http_server/httpd_request.erl and program routines httpd_request:parse_headers/7. The server does not reject or normalize duplicate Content-Length headers. The earliest Content-Length in the request is used for body parsing while common reverse proxies (nginx, Apache httpd, Envoy) honor the last Content-Length value. This violates RFC 9112 Section 6.3 and allows front-end/back-end desynchronization, leaving attacker-controlled bytes queued as the start of the next request. This issue affects OTP from OTP 17.0 before OTP 26.2.5.18, OTP 27.3.4.9, and OTP 28.4.1, corresponding to inets from 5.10 before 9.1.0.5, 9.3.2.3, and 9.6.1. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| inets | from 5.10 before * | CVE List |
| otp | from 17.0 before * | CVE List |
| erlang/otp | from 84adefa331c4159d432d22840663c38f155cd4c1 before * Not affected: from a4b46336fd25aa100ac602eb9a627aaead7eda18 before *, from a761d391d8d08316cbd7d4a86733ba932b73c45b before *, from e775a332f623851385ab6ddb866d9b150612ddf6 before * | CVE List |
| https://github.com/erlang/otp | from 84adefa331c4159d432d22840663c38f155cd4c1 before a4b46336fd25aa100ac602eb9a627aaead7eda18, before a761d391d8d08316cbd7d4a86733ba932b73c45b, before e775a332f623851385ab6ddb866d9b150612ddf6 | Erlang Ecosystem Foundation |
| erlang erlang/inets | from 5.10 before 9.1.0.5, from 9.3 before 9.3.2.3, from 9.6 before 9.6.1 | NVD |
| erlang erlang/otp | from 17.0 before 26.2.5.18, from 27.0 before 27.3.4.9, from 28.0 before 28.4.1 | NVD |
All scores
| EEF | 7.0high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L |
| Erlang Ecosystem Foundation | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L |
| NVD | 9.4critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling') vulnerability in Erlang OTP (inets httpd module) allows HTTP Request Smuggling. This vulnerability is associated with program files lib/inets/src/http_server/httpd_request.erl and program routines httpd_request:parse_headers/7. The server does not reject or normalize duplicate Content-Length headers. The earliest Content-Length in the request is used for body parsing while common reverse proxies (nginx, Apache httpd, Envoy) honor the last Content-Length value. This violates RFC 9112 Section 6.3 and allows front-end/back-end desynchronization, leaving attacker-controlled bytes queued as the start of the next request. This issue affects OTP from OTP 17.0 before OTP 26.2.5.18, OTP 27.3.4.9, and OTP 28.4.1, corresponding to inets from 5.10 before 9.1.0.5, 9.3.2.3, and 9.6.1. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Erlang Ecosystem Foundation
Summary
Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling') vulnerability in Erlang OTP (inets httpd module) allows HTTP Request Smuggling.
This vulnerability is associated with program files lib/inets/src/http_server/httpd_request.erl and program routines httpd_request:parse_headers/7.
The server does not reject or normalize duplicate Content-Length headers. The earliest Content-Length in the request is used for body parsing while common reverse proxies (nginx, Apache httpd, Envoy) honor the last Content-Length value. This violates RFC 9112 Section 6.3 and allows front-end/back-end desynchronization, leaving attacker-controlled bytes queued as the start of the next request.
This issue affects OTP from OTP 17.0 before OTP 26.2.5.18, OTP 27.3.4.9, and OTP 28.4.1, corresponding to inets from 5.10 before 9.1.0.5, 9.3.2.3, and 9.6.1. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Workarounds
- Configure frontend proxy to reject requests with duplicate Content-Length headers.
- Disable HTTP keep-alive on httpd by adding
{keep_alive, false}to httpd 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.
Configurations
The inets httpd server must be deployed behind a reverse proxy that honors a different Content-Length header than httpd (e.g., last vs. first). HTTP keep-alive must be enabled (the default).
NVD (es)
La vulnerabilidad de Interpretación inconsistente de solicitudes HTTP ('Contrabando de solicitudes HTTP') en Erlang OTP (módulo inets httpd) permite el contrabando de solicitudes HTTP. Esta vulnerabilidad está asociada con los archivos de programa lib/inets/src/http_server/httpd_request.erl y las rutinas de programa httpd_request:parse_headers/7. El servidor no rechaza ni normaliza los encabezados Content-Length duplicados. El Content-Length más temprano en la solicitud se utiliza para el análisis del cuerpo, mientras que los proxies inversos comunes (nginx, Apache httpd, Envoy) respetan el último valor de Content-Length. Esto viola la Sección 6.3 de RFC 9112 y permite la desincronización front-end/back-end, dejando bytes controlados por el atacante en cola como el inicio de la siguiente solicitud. Este problema afecta a OTP desde OTP 17.0 hasta OTP 28.4.1, OTP 27.3.4.9 y OTP 26.2.5.18, lo que corresponde a inets desde 5.10 hasta 9.6.1, 9.3.2.3 y 9.1.0.5.
References
| https://github.com/erlang/otp/security/advisories/GHSA-w4jc-9wpv-pqh7 | advisory, related, vendor-advisory | |
| https://cna.erlef.org/cves/CVE-2026-23941.html | related, vendor-advisory, web | |
| https://osv.dev/vulnerability/EEF-CVE-2026-23941 | related, third-party-advisory | |
| https://www.erlang.org/doc/system/versions.html#order-of-versions | product, web | |
| https://github.com/erlang/otp/commit/a4b46336fd25aa100ac602eb9a627aaead7eda18 | fix, patch | |
| https://github.com/erlang/otp/commit/a761d391d8d08316cbd7d4a86733ba932b73c45b | fix, patch | |
| https://github.com/erlang/otp/commit/e775a332f623851385ab6ddb866d9b150612ddf6 | fix, patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23941 changed 2026-11-20 | CVE Terms of Use |
| Erlang Ecosystem Foundation | EEF-CVE-2026-23941 changed 2026-11-25 | CC-BY-4.0 |
| NVD | CVE-2026-23941 changed 2026-11-20 | Public domain |