Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-57580: CWE-436: Interpretation Conflict in goauthentik authentik

0
Critical
VulnerabilityCVE-2026-57580cvecve-2026-57580cwe-436
Published: 08/18/2026 (08/18/2026, 17:00:19 UTC)
Source: CVE Database V5
Vendor/Project: goauthentik
Product: authentik

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 v4.0

Score 9.4critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
goauthentik/authentik
pkg:github/goauthentik/authentik
Affected versions
<2026.2.6<2026.5.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/18/2026, 17:36:07 UTC

Technical Analysis

CVE-2026-57580 is a critical vulnerability in the open-source identity provider authentik. It arises from an interpretation conflict (CWE-436) in how authentik processes XML comments within the NameID element of inbound SAML assertions when configured with non-default USERNAME_LINK or EMAIL_LINK user-matching modes. An attacker who controls an account on the source identity provider can inject an XML comment that truncates the NameID value used by authentik, while the signed assertion remains valid. This allows the attacker to link their external identity to a victim's existing account, effectively taking over the victim's account without needing their password or the identity provider's private key. The malicious link persists across logins. The vulnerability does not impact the default unique-identifier matching mode or authentik's outbound SAML Provider role. The issue is resolved in authentik versions 2026.2.6 and 2026.5.5.

Potential Impact

Successful exploitation allows an attacker with an account on the source identity provider to fully take over a victim's account in authentik without requiring the victim's password or the identity provider's private key. This is achieved by injecting a crafted XML comment in the NameID that causes truncation and identity binding to the victim's username or email. The attacker gains persistent access as the malicious link remains valid for subsequent logins.

Mitigation Recommendations

Upgrade authentik to version 2026.2.6 or 2026.5.5 or later, where this vulnerability is fixed. Until patched, avoid configuring inbound SAML Sources with USERNAME_LINK or EMAIL_LINK user-matching modes if possible. No other mitigations are specified. Patch status is confirmed fixed in these versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-24T18:49:56.208Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a849468c6e8be03328570e4

Added to database: 08/18/2026, 17:20:40 UTC

Last enriched: 08/18/2026, 17:36:07 UTC

Last updated: 08/18/2026, 22:36:21 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses