XPath Injection in Goauthentik Authentik

CVE-2026-40165

authentik is an open-source identity provider. Versions 2025.12.4 and prior, and versions 2026.2.0-rc1 through 2026.2.2 were vulnerable to Authentication Bypass through SAML NameID XML Comment Injection. Due to how authentik extracted the…

EPSS: 0.000 (5.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-40165?
CVE-2026-40165 is a high-severity vulnerability in Goauthentik Authentik, classified under XML Injection (Blind XPath Injection). CVSS score: 8.7/10. Published 2026-05-21.
How severe is CVE-2026-40165?
High severity. CVSS v3 base score is 8.7 out of 10.