DHI-6nh7-ilag-jfsd-nikq
github.com/crewjam/saml through v0.5.1 contains two vulnerabilities in SAML assertion processing:
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-19
- Age
- 16d old
- Modified
- 2026-11-23
- Product
- zitadel-4-dev
Description
github.com/crewjam/saml through v0.5.1 contains two vulnerabilities in SAML assertion processing: 1. ServiceProvider.validateAssertion dereferences assertion.Issuer without a nil check when ExpectedIDPEntityID is non-empty. A signed SAML assertion that omits the optional <saml:Issuer> element causes a nil-pointer dereference panic after signature verification. 2. Subject uses the bare XML struct tag xml:"NameID", which matches <NameID> elements in any XML namespace. When a signed assertion omits <saml:NameID> and includes a <NameID> element in a foreign namespace inside <saml:Subject>, encoding/xml populates Subject.NameID from the foreign element, allowing an authenticated principal to spoof Subject.NameID.Value.
Sources
- OSV · first seen 16d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-6nh7-ilag-jfsd-nikq advisory
- https://pkg.go.dev/vuln/GO-2026-6909 advisory
- https://github.com/golang/vulndb/issues/6909 web
- https://github.com/crewjam/saml/commit/e05a6f148c4eda7b5f6b3b2737085cf72b680456 fix
- https://github.com/crewjam/saml/commit/2a4c1a630a7d53ff99a1fa2216308d6cef61ad78 fix