{"id":"DHI-6nh7-ilag-jfsd-nikq","summary":"github.com/crewjam/saml before v0.5.2 contains two vulnerabilities in SAML assertion processing:","details":"github.com/crewjam/saml before v0.5.2 contains two vulnerabilities in SAML assertion processing:\n\n1. ServiceProvider.validateAssertion dereferences assertion.Subject, assertion.Conditions, and SubjectConfirmationData without nil checks. A signed SAML assertion that omits any of these optional elements causes a nil-pointer dereference panic after signature verification.\n\n2. Subject uses the bare XML struct tag xml:\"NameID\", which matches \u003cNameID\u003e elements in any XML namespace. When a signed assertion omits \u003csaml:NameID\u003e and includes a \u003cNameID\u003e element in a foreign namespace inside \u003csaml:Subject\u003e, encoding/xml populates Subject.NameID from the foreign element, allowing an authenticated principal to spoof Subject.NameID.Value.","modified":"2026-11-23T21:15:10.016922894Z","published":"2026-11-19T03:06:33Z","withdrawn":"2026-11-23T21:02:52Z","upstream":["GO-2026-6909"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-6nh7-ilag-jfsd-nikq"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2026-6909"},{"type":"FIX","url":"https://github.com/crewjam/saml/commit/e05a6f148c4eda7b5f6b3b2737085cf72b680456"},{"type":"FIX","url":"https://github.com/crewjam/saml/commit/2a4c1a630a7d53ff99a1fa2216308d6cef61ad78"},{"type":"WEB","url":"https://github.com/golang/vulndb/issues/6909"}],"schema_version":"1.9.2"}