What’s Vulnerable › Vulnerabilities
CVE-2026-39825: ReverseProxy forwards queries with more than urlmaxqueryparams parameters in net/http/httputil
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-07 · updated 2026-10-26
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.
Affected products
- Go: before 1.25.10; from 1.26.0 before 1.26.3 — fixed in 1.25.10, 1.26.3
- Go Stdlib: before 1.25.10; from 1.26.0-0 before 1.26.3 — fixed in 1.25.10, 1.26.3
How to fix
Upgrade to a fixed version: Go 1.25.10, 1.26.3; Go Stdlib 1.25.10, 1.26.3. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/770541
- https://go.dev/issue/78948
- https://groups.google.com/g/golang-announce/c/qcCIEXso47M
- https://pkg.go.dev/vuln/GO-2026-4976
Get alerted when CVE-2026-39825 or the next vulnerability affects your stack