Priro to version 7.22, a remote unauthenticated attacker can send an HTTP request containing both Content-Length and Transfer-Encoding: chunked.
- CVSS
- 9.1Critical
- Chance of exploitation (EPSS)
- 0.67%
- Published
- Aug 20, 2026
- In the news
- Not yet
What to do
A critical security flaw in Cesanta Mongoose that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Cesanta Mongoose
- < 7.22
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 products
Get alerts for these →Timeline 1
Latest change: CVE-2026-73257 published (CVSS 9.1) (Aug 20, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Aug 20, 2026
- CVECVE-2026-73257 published (CVSS 9.1)CVE Program · 18:16 UTC
References 5
- github.com Patch /cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71
- github.com Patch /cesanta/mongoose/pull/3611
- github.com ExploitVendor Advisory /cesanta/mongoose/security/advisories/GHSA-5wfq-r6mr-wqp6
- github.com ExploitVendor Advisory /cesanta/mongoose/security/advisories/GHSA-5wfq-r6mr-wqp6
- github.com /cesanta/mongoose/releases/tag/7.22