CVE-2026-39825: CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') in Go standard library net/http/httputil
ReverseProxy can forward queries containing parameters not visible to Rewrite functions. When used with a Rewrite function, or a Director function which parses query parameters, ReverseProxy sanitizes the forwarded request to remove query parameters which are not parsed by url.ParseQuery. ReverseProxy does not take ParseQuery's limit on the total number of query parameters (controlled by GODEBUG=urlmaxqueryparams=N) into account. This can permit ReverseProxy to forward a request containing a query parameter that is not visible to the Rewrite function. For example, the query "a1=x&a2=x&...&a10000=x&hidden=y" can forward the parameter "hidden=y" while hiding it from the proxy's Rewrite function.
AI Analysis
Technical Summary
The vulnerability in Go's net/http/httputil ReverseProxy occurs because it forwards query parameters that exceed the parsing limit set by url.ParseQuery, controlled by GODEBUG=urlmaxqueryparams. While Rewrite or Director functions parse and sanitize query parameters, they do not see parameters beyond this limit, but ReverseProxy still forwards them. This discrepancy allows hidden query parameters to be forwarded without detection by the proxy's rewriting logic, leading to inconsistent HTTP request interpretation (CWE-444). This can potentially be leveraged for HTTP Request/Response Smuggling attacks. The affected versions include Go standard library versions up to 1.26.0-0. There is no CVSS score or official remediation level provided, and no patch links are available.
Potential Impact
The impact is that an attacker can craft HTTP requests with hidden query parameters that bypass the proxy's Rewrite or Director functions, potentially leading to inconsistent request handling. This inconsistency can be exploited to smuggle HTTP requests or responses, which may affect downstream services relying on the proxy for request validation or modification. However, no known exploits have been reported, and the exact impact depends on the deployment context and use of Rewrite or Director functions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should be cautious when using ReverseProxy with Rewrite or Director functions that parse query parameters. Consider limiting the number of query parameters or implementing additional validation to detect hidden parameters. Monitor vendor communications for updates and patches addressing this issue.
CVE-2026-39825: CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') in Go standard library net/http/httputil
Description
ReverseProxy can forward queries containing parameters not visible to Rewrite functions. When used with a Rewrite function, or a Director function which parses query parameters, ReverseProxy sanitizes the forwarded request to remove query parameters which are not parsed by url.ParseQuery. ReverseProxy does not take ParseQuery's limit on the total number of query parameters (controlled by GODEBUG=urlmaxqueryparams=N) into account. This can permit ReverseProxy to forward a request containing a query parameter that is not visible to the Rewrite function. For example, the query "a1=x&a2=x&...&a10000=x&hidden=y" can forward the parameter "hidden=y" while hiding it from the proxy's Rewrite function.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Go's net/http/httputil ReverseProxy occurs because it forwards query parameters that exceed the parsing limit set by url.ParseQuery, controlled by GODEBUG=urlmaxqueryparams. While Rewrite or Director functions parse and sanitize query parameters, they do not see parameters beyond this limit, but ReverseProxy still forwards them. This discrepancy allows hidden query parameters to be forwarded without detection by the proxy's rewriting logic, leading to inconsistent HTTP request interpretation (CWE-444). This can potentially be leveraged for HTTP Request/Response Smuggling attacks. The affected versions include Go standard library versions up to 1.26.0-0. There is no CVSS score or official remediation level provided, and no patch links are available.
Potential Impact
The impact is that an attacker can craft HTTP requests with hidden query parameters that bypass the proxy's Rewrite or Director functions, potentially leading to inconsistent request handling. This inconsistency can be exploited to smuggle HTTP requests or responses, which may affect downstream services relying on the proxy for request validation or modification. However, no known exploits have been reported, and the exact impact depends on the deployment context and use of Rewrite or Director functions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should be cautious when using ReverseProxy with Rewrite or Director functions that parse query parameters. Consider limiting the number of query parameters or implementing additional validation to detect hidden parameters. Monitor vendor communications for updates and patches addressing this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-04-07T18:13:03.527Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fcf0c1cbff5d86102bd5d1
Added to database: 5/7/2026, 8:06:25 PM
Last enriched: 5/7/2026, 8:21:54 PM
Last updated: 5/8/2026, 8:49:30 PM
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.