Loading advisory.
Loading advisory.
Nil-pointer panic in validateAssertion and namespace-blind Subject.NameID in github.com/crewjam/saml
github.com/crewjam/saml before v0.5.2 contains two vulnerabilities in SAML assertion processing:
Published 2026-11-05 22:55 UTC · Modified 2026-11-23 20:30 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in |
|---|
| Upgrade command |
|---|
| github.com/crewjam/saml | Go | < 0.5.2 | 0.5.2 | go get github.com/crewjam/saml@v0.5.2 |
|---|
github.com/crewjam/saml before v0.5.2 contains two vulnerabilities in SAML assertion processing:
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.
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.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
No EPSS history yet. Either the CVE has no score or the scores have not been fetched.