CVE-2024-42490 — Vulnerability in goauthentik.io — CVE Details
GoAuthentik vulnerable to Insufficient Authorization for several API endpoints
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.46%). Schedule for your next planned update.
Does your project use an affected goauthentik.io version?
Paste your go.sum to check it for CVE-2024-42490 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
Several API endpoints can be accessed by users without correct authentication/authorization.
The main API endpoints affected by this:
/api/v3/crypto/certificatekeypairs/<uuid>/view_certificate//api/v3/crypto/certificatekeypairs/<uuid>/view_private_key//api/v3/.../used_by/
Note that all of the affected API endpoints require the knowledge of the ID of an object, which especially for certificates is not accessible to an unprivileged user. Additionally the IDs for most objects are UUIDv4, meaning they are not easily guessable/enumerable.
Patches
authentik 2024.4.4, 2024.6.4 and 2024.8.0 fix this issue.
Workarounds
Access to the API endpoints can be blocked at a Reverse-proxy/Load balancer level to prevent this issue from being exploited.
For more information
If you have any questions or comments about this advisory:
- Email us at security@goauthentik.io
Advisory Timeline
- First published August 22, 2024 (826 days ago).
- Last revised April 17, 2026 — 603 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get goauthentik.io@v2024.6.4
go get goauthentik.io@v2024.4.4
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| goauthentik.io Go · Affected: All versions | 2024.6.4 |
| goauthentik.io Go · Affected: All versions | 2024.4.4 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:H
References
- https://github.com/goauthentik/authentik/security/advisories/GHSA-qxqc-27pr-wgc8WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-42490ADVISORY
- https://github.com/goauthentik/authentik/commit/19318d4c00bb02c4ec3c4f8f15ac2e1dbe8d846cWEB
- https://github.com/goauthentik/authentik/commit/359b343f51524342a5ca03828e7c975a1d654b11WEB
- https://github.com/goauthentik/authentikPACKAGE
Frequently Asked Questions
- What is CVE-2024-42490?
- GoAuthentik vulnerable to Insufficient Authorization for several API endpoints. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 8.7/10).
- How do I check if my project is affected by CVE-2024-42490?
- CVE-2024-42490 affects goauthentik.io. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-42490 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 32% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-104099CRITICAL
Fabio: Access-control bypass through unnormalized request paths
- CVE-2026-77369CRITICAL
Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpoint
- CVE-2025-53942HIGH
Authentik has insufficient check for account active status when authenticating with OAuth/SAML Sources
- CVE-2026-47201HIGH
authentik's XML Signature Wrapping in SAML Source ACS allows authentication as arbitrary federated user