9.1critical
Mongoose: Content-Length + Transfer-Encoding coexistence enables request smuggling
- Severity
- 9.1critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Mongoose is an embedded web server and network library. Priro to version 7.22, a remote unauthenticated attacker can send an HTTP request containing both Content-Length and Transfer-Encoding: chunked. The cl_count and te_count checks in the mg_http_parse() and http_cb() paths in src/http.c accept both headers and prioritize chunked encoding, while a Content-Length-preferring reverse proxy can use a different request boundary. This CL.TE desynchronization can inject requests that access or modify resources in another user context. This issue is fixed in version 7.22.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| cesanta mongoose | < 7.22, before 7.22 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
Mongoose is an embedded web server and network library. Priro to version 7.22, a remote unauthenticated attacker can send an HTTP request containing both Content-Length and Transfer-Encoding: chunked. The cl_count and te_count checks in the mg_http_parse() and http_cb() paths in src/http.c accept both headers and prioritize chunked encoding, while a Content-Length-preferring reverse proxy can use a different request boundary. This CL.TE desynchronization can inject requests that access or modify resources in another user context. This issue is fixed in version 7.22.
NVD (es)
Mongoose es un servidor web incrustado y una biblioteca de red. Antes de la versión 7.22, un atacante remoto no autenticado puede enviar una solicitud HTTP que contenga tanto Content-Length como Transfer-Encoding: chunked. Las comprobaciones cl_count y te_count en las rutas mg_http_parse() y http_cb() en src/http.c aceptan ambos encabezados y priorizan la codificación chunked, mientras que un proxy inverso que prefiere Content-Length puede usar un límite de solicitud diferente. Esta desincronización CL.TE puede inyectar solicitudes que acceden o modifican recursos en otro contexto de usuario. Este problema está solucionado en la versión 7.22.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-73257 changed 2026-08-20 | CVE Terms of Use |
| NVD | CVE-2026-73257 changed 2026-10-18 | Public domain |