CVE-2024-42490 authentik has Insufficient Authorization for several API endpoints
Unauthenticated users can access sensitive certificate and object data via API endpoints if they possess the specific UUID.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-42490?
CVE-2024-42490 is a high-severity missing authorization vulnerability in goauthentik authentik, published on 22 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
authentik is an open-source Identity Provider. Several API endpoints can be accessed by users without correct authentication/authorization. The main API endpoints affected by this are /api/v3/crypto/certificatekeypairs/<uuid>/view_certificate/, /api/v3/crypto/certificatekeypairs/<uuid>/view_private_key/, and /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. authentik 2024.4.4, 2024.6.4 and 2024.8.0 fix this issue.
Weakness: CWE-285
Which versions are affected by CVE-2024-42490?
6 open source packages ship an affected version, including goauthentik.io and authentik. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
goauthentik.io Go | All versions | None |
goauthentik.io Go | All versions | 2024.4.4 |
goauthentik.io Go | All versions | 2024.4.4 |
goauthentik.io Go | From 2024.6.0-rc1 | 2024.6.4 |
goauthentik.io Go | From 2024.6.0-rc1 | 2024.6.4 |
authentik Bitnami | All versions | 2024.4.4, 2024.6.4 |
Products include Goauthentik Authentik.
How do I fix CVE-2024-42490?
Upgrade goauthentik.io to a fixed version for your release line: 2024.4.4 or 2024.6.4.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-42490 being exploited?
There is no known exploitation of CVE-2024-42490 in the wild and no public exploit code.
Other vulnerabilities in goauthentik authentik
- CVE-2026-49448 authentik: SourceStage bypass via empty POST
- CVE-2023-46249 authentik potential installation takeover when default admin user is deleted
- CVE-2022-23555 authentik vulnerable to Improper Authentication via invitation URL token reuse
- CVE-2026-42849 authentik: Reflected XSS in SFE AutosubmitStage allows IDP account takeover
- CVE-2026-25227 authentik affected by Remote Code Execution via Context Key Injection in PropertyMapping Test Endpoint
Sources
Also known as BIT-authentik-2024-42490, GHSA-qxqc-27pr-wgc8, GO-2024-3085.