
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-141510 is an HTTP request smuggling vulnerability in Cesanta Mongoose, an embedded web server and network library, caused by improper HTTP header table bounds handling. The mg_http_parse_headers() function in src/http.c silently drops headers beyond the fixed MG_MAX_HTTP_HEADERS (30-entry) limit, including framing headers like Content-Length or Transfer-Encoding, enabling request smuggling and frontend ACL bypass. Version 7.23 is confirmed affected; earlier releases may also be vulnerable but have not been fully assessed. The vulnerability was disclosed on December 1, 2026, and is fixed in version 7.24. It carries a CVSS v3.1 base score of 5.9 (Medium) (GitHub Advisory, Red Hat).
The root cause is classified as CWE-444 (Inconsistent Interpretation of HTTP Requests / HTTP Request Smuggling). The mg_http_parse_headers() function iterates only up to MG_MAX_HTTP_HEADERS (30) entries and returns success without distinguishing between reaching the table limit and encountering the terminating blank line; any headers beyond position 30 — including Content-Length or Transfer-Encoding — are silently discarded. An attacker crafts an HTTP/1 request with more than 30 headers, placing a Content-Length header after the 30th slot. A conforming frontend proxy (tested with HAProxy 3.2.0 LTS) that preserves this late framing header treats the subsequent bytes as the body of the first request, while Mongoose — having lost the Content-Length — treats the first request as bodyless and parses those same bytes as a second pipelined request, effectively smuggling it past the frontend's path ACL. The fix, committed in 07e580d, adds a bounds check after the loop that returns false (parse failure) if the header table is exhausted but the terminating blank line has not yet been reached (GitHub Advisory, Fix Commit).
Successful exploitation allows an unauthenticated remote attacker to smuggle a second HTTP request past a frontend proxy's path-based access control list, reaching protected endpoints that the frontend was configured to block. The demonstrated impact is a blind authorization/integrity bypass — in the proof-of-concept, a protected POST /admin action was executed despite HAProxy returning HTTP 403 for a direct request to that path. No confidentiality loss, availability impact, or remote code execution has been demonstrated; the integrity impact is rated High due to the ability to trigger unauthorized state-changing operations (GitHub Advisory).
No public proof-of-concept exploit code has been released, and there is no evidence of in-the-wild exploitation as of the disclosure date (Feedly). The EPSS score is approximately 0.006 (0.6%), reflecting low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires a specific deployment topology — a frontend proxy that preserves late framing headers and enforces path-based ACLs — which raises the effective attack complexity to High (GitHub Advisory).
GET /public) with exactly 30 or more syntactically valid but semantically irrelevant padding headers (e.g., x-pad-1: a through x-pad-29: a), placing the Content-Length header at position 31 or later — beyond Mongoose's 30-entry table limit.Content-Length value to the byte length of a second HTTP request (e.g., POST /admin HTTP/1.1\r\nContent-Length: 0\r\n\r\n) and append that second request as the apparent body of the first.Content-Length header, treats the embedded bytes as the body of the first request, and applies its ACL only to /public — allowing it through.Content-Length, treats the first request as bodyless and parses the embedded bytes as a second pipelined request to /admin, executing the protected action without ACL enforcement./public request, but the protected POST /admin side effect is executed on the Mongoose backend (GitHub Advisory).Content-Length or Transfer-Encoding header positioned late in the header block; unexpected pipelined requests observed at the Mongoose backend that do not correspond to requests logged by the frontend proxy./admin); discrepancy between frontend proxy access logs (one request) and Mongoose backend logs (two requests) for the same connection.Upgrade Mongoose to version 7.24, which includes a bounds check in mg_http_parse_headers() that rejects requests where the header table is exhausted before the terminating blank line is reached (Mongoose 7.24 Release, Fix Commit). As a temporary workaround, deploying a frontend proxy that normalizes header ordering (e.g., nginx 1.31.3 or Node http-proxy 1.18.1 were observed to normalize Content-Length position in testing, preventing the mismatch) can mitigate the risk in specific chain configurations, though this is deployment-dependent and not a guaranteed fix. Organizations should audit all Mongoose deployments behind frontend proxies with path-based ACLs and prioritize upgrading to 7.24 (GitHub Advisory).
The vulnerability was discovered by security researcher Giacomo (gb1dev) using a private security vulnerability analysis tool called HyperAnalyzer, followed by manual source review and isolated local validation. The researcher provided a detailed proof-of-concept including server code, a probe script, and HAProxy configuration, and noted that the fix was causally verified by rebuilding the patched source and confirming the exploit no longer succeeded. No significant broader media coverage or social media discussion has been identified beyond the GitHub Security Advisory and Red Hat Bugzilla tracking (GitHub Advisory, Red Hat Bugzilla).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."