CVE-2026-57580
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.
Scoring
- Severity
- CRITICAL
- CVSS base score
- 9.4
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
- EPSS probability
- 0.44%
- CWE
- CWE-436
- Published
- 2026-08-18
- Last modified
- 2026-08-18
Affected products
- goauthentik authentik
- goauthentik authentik
Weakness type
Related vulnerabilities
- CVE-2026-87627 — Interpretation conflict in Safebrowsing in Google Chrome on on Mac prior to 153.0.8010.36 allowed a...
- CVE-2026-82537 — Roo-Code 3.54.0 Auto-Approve Bypass via Shell Parser Word-Boundary Mismatch
- CVE-2026-81378 — Visual Studio Code Security Feature Bypass Vulnerability
- CVE-2026-85184 — @fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target
- CVE-2026-84394 — fast-uri vulnerable to host confusion via an unclosed bracket in the URI authority
- CVE-2026-63435 — Mail: Email address spoofing via malformed RFC 2047 encoded-words
- CVE-2026-75931 — fast-uri vulnerable to host confusion via skipped IDN canonicalization on scheme-relative references
- CVE-2026-73846 — CKAN MCP Server: Cache-key canonicalization collision enables cache confusion / poisoning