Home

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.

PUBLISHED Reserved 2026-04-07 | Published 2026-05-07 | Updated 2026-05-08 | Assigner Go

Problem types

CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Product status

Default status
unaffected

Any version before 1.25.10
affected

1.26.0-0 (semver) before 1.26.3
affected

References

go.dev/cl/770541

go.dev/issue/78948

groups.google.com/g/golang-announce/c/qcCIEXso47M

pkg.go.dev/vuln/GO-2026-4976

cve.org (CVE-2026-39825)

nvd.nist.gov (CVE-2026-39825)

Download JSON