CVE-2026-39825
JSON

5.3medium

ReverseProxy forwards queries with more than urlmaxqueryparams parameters in net/http/httputil

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.39% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2026-4976BIT-GOLANG-2026-39825

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

Product or packageVersionsReported by
net/http/httputilbefore 1.25.10, from 1.26.0-0 before 1.26.3CVE List
stdlib (Go)before 1.25.10, from 1.26.0-0 before 1.26.3Go Vulnerability Database
golang gobefore 1.25.10, from 1.26.0 before 1.26.3NVD
golang (Bitnami)before 1.25.10, from 1.26.0-0 before 1.26.3Bitnami Vulnerability Database

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-444

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

ReverseProxy puede reenviar consultas que contienen parámetros no visibles para las funciones Rewrite. Cuando se utiliza con una función Rewrite, o una función Director que analiza los parámetros de consulta, ReverseProxy sanea la solicitud reenviada para eliminar los parámetros de consulta que no son analizados por url.ParseQuery. ReverseProxy no tiene en cuenta el límite de ParseQuery sobre el número total de parámetros de consulta (controlado por GODEBUG=urlmaxqueryparams=N). Esto puede permitir a ReverseProxy reenviar una solicitud que contiene un parámetro de consulta que no es visible para la función Rewrite. Por ejemplo, la consulta ’a1=x&a2=x&...&a10000=x&hidden=y’ puede reenviar el parámetro ’hidden=y’ mientras lo oculta de la función Rewrite del proxy.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-39825 changed 2026-05-08CVE Terms of Use
Go Vulnerability DatabaseGO-2026-4976 changed 2026-11-23CC-BY-4.0
NVDCVE-2026-39825 changed 2026-10-26Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2026-39825 changed 2026-09-08Apache-2.0