CVE-2025-47910
JSON

5.4medium

CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.36% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2025-3955BIT-GOLANG-2025-47910

Description

When using http.CrossOriginProtection, the AddInsecureBypassPattern method can unexpectedly bypass more requests than intended. CrossOriginProtection then skips validation, but forwards the original request path, which may be served by a different handler without the intended security protections.

Affected

Product or packageVersionsReported by
net/httpfrom 1.25.0 before 1.25.1CVE List
stdlib (Go)from 1.25.0 before 1.25.1Go Vulnerability Database
golang (Bitnami)from 1.25.0 before 1.25.1Bitnami Vulnerability Database

All scores

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

Classification

CWE-284

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

What each source says

CVE List

When using http.CrossOriginProtection, the AddInsecureBypassPattern method can unexpectedly bypass more requests than intended. CrossOriginProtection then skips validation, but forwards the original request path, which may be served by a different handler without the intended security protections.

NVD (es)

Al usar http.CrossOriginProtection, el método AddInsecureBypassPattern puede omitir inesperadamente más solicitudes de las previstas. CrossOriginProtection entonces omite la validación, pero reenvía la ruta de solicitud original, que puede ser atendida por un gestor diferente sin las protecciones de seguridad previstas.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-47910 changed 2025-09-24CVE Terms of Use
Go Vulnerability DatabaseGO-2025-3955 changed 2026-05-15CC-BY-4.0
NVDCVE-2025-47910 changed 2026-10-11Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2025-47910 changed 2025-09-25Apache-2.0