CVE-2026-57580: authentik: Account Takeover via SAML NameID Comment Truncation
Vulnerability summary
CVE-2026-57580 is a critical (CVSS 9.4) Interpretation Conflict vulnerability in goauthentik authentik. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 48.2% of scored vulnerabilities.
Severe, CVSS 9.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Timeline
- 18-08-2026PublishedVulnerability first disclosed.
- 18-08-2026Last modifiedVulnerability information updated.
Description
authentik is an open-source identity provider. Prior to 2026.2.6 and 2026.5.5, an inbound SAML Source configured with the non-default USERNAME_LINK or EMAIL_LINK user-matching mode interprets an XML comment in a NameID differently from the identity provider's signed assertion. An attacker with an account on the source identity provider who can set the account's NameID can inject an XML comment that truncates the value used by authentik to the text before the comment while the signed assertion remains valid. A crafted NameID can therefore truncate to a victim's username or email and bind the attacker's external identity to the victim's existing account. This grants full takeover without the victim's password or the identity provider's private key, and the malicious link persists so later logins succeed without the comment. Sources using the default unique-identifier matching mode and authentik's outbound SAML Provider role are not affected. This issue is fixed in versions 2026.2.6 and 2026.5.5.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST9.4CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.59% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Goauthentik1 product
- authentik< 2026.2.6 | ≥ 2026.5.0, < 2026.5.5
1 vendor · 1 product
References
7 links- github.com/goauthentik/authentik/security/advisories/GHSA-35v6-hv2g-6992X Refsource CONFIRM
- github.com/goauthentik/authentik/pull/24057X Refsource MISC
- github.com/goauthentik/authentik/pull/24062X Refsource MISC
- github.com/goauthentik/authentik/releases/tag/version/2026.2.6X Refsource MISC
- github.com/goauthentik/authentik/releases/tag/version/2026.5.5X Refsource MISC