Skip to main content

CVE-2024-42490 — Vulnerability in goauthentik.io — CVE Details

CRITICAL

GoAuthentik vulnerable to Insufficient Authorization for several API endpoints

Published August 22, 2024Updated April 17, 2026Source: OSV

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.

Check my go.sum

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:

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
Update goauthentik.io to 2024.6.4 or later
go get goauthentik.io@v2024.6.4
Go
Update goauthentik.io to 2024.4.4 or later
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).

PackageFixed In
goauthentik.io Go · Affected: All versions2024.6.4
goauthentik.io Go · Affected: All versions2024.4.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-285
    Improper AuthorizationMITRE
  • CWE-863
    Incorrect AuthorizationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:H

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

CVSS Score
8.7

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.46%
EPSS percentile: 32

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

GHSA-qxqc-27pr-wgc8
BIT-authentik-2024-42490
GO-2024-3085

Related CVEs

  • CVE-2026-104099
    CRITICAL

    Fabio: Access-control bypass through unnormalized request paths

  • CVE-2026-77369
    CRITICAL

    Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpoint

  • CVE-2025-53942
    HIGH

    Authentik has insufficient check for account active status when authenticating with OAuth/SAML Sources

  • CVE-2026-47201
    HIGH

    authentik's XML Signature Wrapping in SAML Source ACS allows authentication as arbitrary federated user

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum