{"id":"GO-2025-3955","summary":"CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http","details":"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.","aliases":["BIT-golang-2025-47910","CVE-2025-47910"],"modified":"2026-05-15T10:59:08.106721810Z","published":"2025-09-22T20:48:35Z","related":["CGA-5whr-7566-g2wp","RHSA-2026:7291","RHSA-2026:7385"],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2025-3955","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://go.dev/cl/699275"},{"type":"REPORT","url":"https://go.dev/issue/75054"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.25.0"},{"fixed":"1.25.1"}]}],"ecosystem_specific":{"imports":[{"path":"net/http","symbols":["CrossOriginProtection.AddInsecureBypassPattern"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-3955.json"}}],"schema_version":"1.7.5"}