CVE-2026-141510

Description

A flaw was found in Mongoose. A remote attacker can exploit this vulnerability by sending an HTTP request containing an excessive number of headers, causing the server to exceed its internal header limit and silently ignore critical framing headers such as Content-Length or Transfer-Encoding. This discrepancy in how front-end proxy servers and the back-end Mongoose server process request boundaries enables HTTP request smuggling (a vulnerability where servers misinterpret request limits), allowing an attacker to bypass path access controls.

Statement

This flaw is rated as a Moderate severity impact because successful HTTP request smuggling requires specific architectural conditions, namely a front-end reverse proxy that forwards requests with excessive headers without stripping or truncating late framing headers. In typical Red Hat deployments, Mongoose functions as an embedded server component rather than a standalone edge-facing proxy. Environments where front-end load balancers reject requests with excessive header counts or normalize HTTP framing headers are not vulnerable to this desynchronization issue.

Mitigation

Configure front-end reverse proxies or load balancers deployed ahead of Mongoose to enforce strict HTTP header limits and reject or normalize requests with ambiguous framing headers such as Content-Length and Transfer-Encoding.

Restrict direct network access to the Mongoose port so that only authorized front-end proxies can submit requests:

firewall-cmd --permanent --zone=public --remove-port=8080/tcp
firewall-cmd --permanent --zone=trusted --add-source=<PROXY_IP>
firewall-cmd --reload

Caveats: Lowering proxy header thresholds may cause legitimate requests with large headers or extensive cookies to be rejected.

Warning: Reloading firewall rules or restarting proxy services will briefly affect active network connections.

Understanding the Weakness (CWE)

Integrity,Non-Repudiation,Access Control

Technical Impact: Unexpected State; Hide Activities; Bypass Protection Mechanism

An attacker could create HTTP messages to exploit a number of weaknesses including 1) the message can trick the web server to associate a URL with another URL's webpage and caching the contents of the webpage (web cache poisoning attack), 2) the message can be structured to bypass the firewall protection mechanisms and gain unauthorized access to a web application, and 3) the message can invoke a script or a page that returns client credentials (similar to a Cross Site Scripting attack).

Frequently Asked Questions

Want to get errata notifications? Sign up here.