CVE-2026-41577

authentik: SAML source does not validate Conditions, timing, or audience on assertions

Published Jun 2, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
authentik is an open-source identity provider. Prior to versions 2025.12.5 and 2026.2.3, the SAML source response processor (ResponseProcessor.parse()) does not validate the Conditions element on assertions. NotBefore, NotOnOrAfter, and AudienceRestriction are all ignored. This allows replay of expired assertions and acceptance of assertions intended for other service providers. This issue has been patched in versions 2025.12.5 and 2026.2.3.

Analysis

AI-generated

Technical impact

The vulnerability arises because authentik’s SAML source response processor ignores the Conditions element of SAML assertions, including NotBefore, NotOnOrAfter, and AudienceRestriction, a lack of condition validation (CWE‑345). An attacker can replay expired assertions or supply assertions intended for another service provider, allowing them to authenticate without a valid, time‑constrained token or to spoof another audience’s service provider. This flaw enables unauthorized access to resources protected by the identity provider, but it does not directly expose code execution or remote command execution.

Affected Systems

The flaw exists in the open‑source authentik identity provider, affecting the goauthentik:authentik product. Versions released before 2025.12.5 and 2026.2.3 are vulnerable; these releases were patched by adding proper validation of the Conditions element.

Risk and Exploitability

With a CVSS score of 6.9, the vulnerability carries medium severity. The EPSS score is currently unavailable, and the issue is not listed in the CISA KEV catalog. The likely attack vector is the SAML authentication endpoint, where an attacker can submit a crafted SAML assertion to gain access. Because no extra authentication or credential is required beyond the assertion, the exploitation does not require privileged access on the target system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade authentik to version 2025.12.5, 2026.2.3, or any newer release that fixes the condition validation issue.
  • If an immediate upgrade is not possible, temporarily disable SAML authentication or restrict access to the SAML endpoint to trusted networks to prevent unauthenticated assertion acceptance.
  • After resolving the issue, verify that SAML partners enforce valid time constraints and audience restrictions, and monitor authentication logs for suspicious activity.

Generated by OpenCVE AI on June 3, 2026 at 05:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Goauthentik
Goauthentik authentik
Vendors & Products Goauthentik
Goauthentik authentik
Type Values Removed Values Added
Description authentik is an open-source identity provider. Prior to versions 2025.12.5 and 2026.2.3, the SAML source response processor (ResponseProcessor.parse()) does not validate the Conditions element on assertions. NotBefore, NotOnOrAfter, and AudienceRestriction are all ignored. This allows replay of expired assertions and acceptance of assertions intended for other service providers. This issue has been patched in versions 2025.12.5 and 2026.2.3.
Title authentik: SAML source does not validate Conditions, timing, or audience on assertions
Weaknesses CWE-345
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-345

    Insufficient Verification of Data Authenticity

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 3, 2026, 1:18 PM
Reserved
Apr 21, 2026, 2:15 PM
Status
Analyzed
Published
Jun 2, 2026, 8:16 PM
Modified
Jul 22, 2026, 7:10 PM