Skip to content
Heist/ feed
Back to feed
High

authentik has Insufficient Authorization for several API endpoints

Type: advisorySources: OSV

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//view_certificate/, /api/v3/crypto/certificatekeypairs//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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-42490
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:30 UTC · Revision 1

Source evidence

authentik has Insufficient Authorization for several API endpoints

core-osv · Original source

Published 22 Aug 2024, 15:34 UTC

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//view_certificate/, /api/v3/crypto/certificatekeypairs//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.

osv:CVE-2024-42490
Complete source record
{
  "id": "96d567b49790e203ca014b5a9087b867b4537f4412f4d1f46d4ee15ad949ba19",
  "url": "https://osv.dev/vulnerability/CVE-2024-42490",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "authentik has Insufficient Authorization for several API endpoints",
    "summary": "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//view_certificate/, /api/v3/crypto/certificatekeypairs//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.",
    "evidence": "osv:CVE-2024-42490",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-42490",
      "aliases": [
        "BIT-authentik-2024-42490",
        "CVE-2024-42490",
        "GHSA-qxqc-27pr-wgc8",
        "GO-2024-3085"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/goauthentik/authentik",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1a21479b0d14093633521137cdfff257bc667dd5"
                },
                {
                  "introduced": "ba87fd8714c367c823f9b94e3e669b0dace28d61"
                },
                {
                  "fixed": "8a0b31b9227ca33b96c5448f185419f17090ed38"
                },
                {
                  "fixed": "19318d4c00bb02c4ec3c4f8f15ac2e1dbe8d846c"
                },
                {
                  "fixed": "359b343f51524342a5ca03828e7c975a1d654b11"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2024.4.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2024.6.0"
                      },
                      {
                        "fixed": "2024.6.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "19318d4c00bb02c4ec3c4f8f15ac2e1dbe8d846c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "359b343f51524342a5ca03828e7c975a1d654b11"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "version/2024.6.3",
            "version/2024.6.2",
            "version/2024.6.1",
            "version/2024.4.3",
            "version/2024.6.0",
            "version/2024.4.2",
            "version/2024.4.1",
            "version/2024.4.0",
            "version/2024.4.0-rc1",
            "version/2023.10.0",
            "version/2023.8.2",
            "version/2023.8.1",
            "version/2023.8.0",
            "version/2023.6.0",
            "version/2023.5.1",
            "version/2023.2.1",
            "version/2022.12.1",
            "version/2022.12.0",
            "version/2022.10.1",
            "version/2022.9.0",
            "version/2022.8.2",
            "version/2022.8.1",
            "version/2022.7.2",
            "version/2022.6.2",
            "version/2022.5.2",
            "version/2022.5.1",
            "version/2022.4.1",
            "version/2022.3.3",
            "version/2022.2.1",
            "version/2022.1.4",
            "version/2022.1.3",
            "version/2022.1.1",
            "version/2021.12.5",
            "version/2021.12.4",
            "version/2021.12.3",
            "version/2021.12.2",
            "version/2021.12.1",
            "version/2021.12.1-rc5",
            "version/2021.12.1-rc4",
            "version/2021.12.1-rc3",
            "version/2021.12.1-rc2",
            "version/2021.12.1-rc1",
            "version/2021.10.4",
            "version/2021.10.3",
            "version/2021.10.1-rc3",
            "version/2021.9.3",
            "version/2021.9.2",
            "version/2021.9.1",
            "version/2021.9.1-rc3",
            "version/2021.9.1-rc2",
            "version/2021.9.1-rc1",
            "version/2021.8.4",
            "version/2021.8.3",
            "version/2021.8.2",
            "version/2021.8.1",
            "version/2021.8.1-rc2",
            "version/2021.7.1",
            "version/2021.7.1-rc1",
            "version/2021.6.4",
            "version/2021.6.3",
            "version/2021.6.1",
            "version/2021.6.1-rc4",
            "version/2021.6.1-rc3",
            "version/2021.6.1-rc2",
            "version/2021.6.1-rc1",
            "version/2021.5.2",
            "version/2021.5.1",
            "version/2021.5.1-rc10",
            "version/2021.5.1-rc9",
            "version/2021.5.1-rc8",
            "version/2021.4.1",
            "version/2021.4.1-rc2",
            "version/2021.4.1-rc1",
            "version/2021.3.4",
            "version/2021.3.3",
            "version/2021.3.2",
            "version/2021.3.1",
            "version/2021.3.1-rc2",
            "version/2021.3.1-rc1",
            "version/2021.2.3-stable",
            "version/2021.2.2-stable",
            "version/2021.1.3-stable",
            "version/2021.1.2-stable",
            "version/2021.1.1-stable",
            "version/2021.1.1-rc2",
            "version/2021.1.1-rc1",
            "version/0.13.3-stable",
            "version/0.13.2-stable",
            "version/0.13.1-stable",
            "version/0.13.0-stable",
            "version/0.13.0-rc4",
            "version/0.13.0-rc3",
            "version/0.13.0-rc2",
            "version/0.13.0-rc1",
            "version/0.12.11-stable",
            "version/0.12.10-stable",
            "version/0.12.9-stable",
            "version/0.12.8-stable",
            "version/0.12.7-stable",
            "version/0.12.6-stable",
            "version/0.12.5-stable",
            "version/0.12.4-stable",
            "version/0.12.3-stable",
            "version/0.12.2-stable",
            "version/0.12.1-stable",
            "version/0.12.0-stable",
            "version/0.11.0-stable",
            "version/0.10.9-stable",
            "version/0.10.8-stable",
            "version/0.10.7-stable",
            "version/0.10.6-stable",
            "version/0.10.5-stable",
            "version/0.10.4-stable",
            "version/0.10.3-stable",
            "version/0.10.2-stable",
            "version/0.10.1-stable",
            "version/0.10.0-stable",
            "version/0.10.0-rc6",
            "version/0.10.0-rc5",
            "version/0.10.0-rc4",
            "version/0.10.0-rc3",
            "version/0.10.0-rc2",
            "version/0.10.0-rc1",
            "version/0.9.0-stable",
            "version/0.9.0-rc2",
            "version/0.9.0-rc1",
            "version/0.9.0-pre7",
            "version/0.9.0-pre6",
            "version/0.9.0-pre5",
            "version/0.9.0-pre4",
            "version/0.9.0-pre3",
            "version/0.9.0-pre2",
            "version/0.9.0-pre1",
            "version/0.8.15-beta",
            "version/0.8.14-beta",
            "version/0.8.12-beta",
            "version/0.8.11-beta",
            "version/0.8.10-beta",
            "version/0.8.9-beta",
            "version/0.8.8-beta",
            "version/0.8.7-beta",
            "version/0.8.6-beta",
            "version/0.8.5-beta",
            "version/0.8.4-beta",
            "version/0.8.3-beta",
            "version/0.8.2-beta",
            "version/0.8.1-beta",
            "version/0.8.0-beta",
            "version/0.7.17-beta",
            "version/0.7.16-beta",
            "version/0.7.15-beta",
            "version/0.7.14-beta",
            "version/0.7.13-beta",
            "version/0.7.12-beta",
            "version/0.7.11-beta",
            "version/0.7.10-beta",
            "version/0.7.9-beta",
            "version/0.7.8-beta",
            "version/0.7.7-beta",
            "version/0.7.6-beta",
            "version/0.7.5-beta",
            "version/0.7.4-beta",
            "version/0.7.3-beta",
            "version/0.7.2-beta",
            "version/0.7.1-beta",
            "version/0.7.0-beta",
            "version/0.6.3-beta",
            "version/0.6.2-beta",
            "version/0.6.1-beta",
            "version/0.6.0-beta",
            "version/0.5.0-beta",
            "version/0.4.2-beta",
            "version/0.4.1-beta",
            "version/0.4.0-beta",
            "version/0.3.0-beta",
            "version/0.2.8-beta",
            "version/0.2.7-beta",
            "version/0.2.6-beta",
            "version/0.2.5-beta",
            "version/0.2.4-beta",
            "version/0.2.3-beta",
            "version/0.2.2-beta",
            "version/0.2.1-beta",
            "version/0.2.0-beta",
            "version/0.1.38-beta",
            "version/0.1.37-beta",
            "version/0.1.36-beta",
            "version/0.1.35-beta",
            "version/0.1.34-beta",
            "version/0.1.33-beta",
            "version/0.1.32-beta",
            "version/0.1.31-beta",
            "version/0.1.30-beta",
            "version/0.1.29-beta",
            "version/0.1.28-beta",
            "version/0.1.27-beta",
            "version/0.1.26-beta",
            "version/0.1.25-beta",
            "version/0.1.24-beta",
            "version/0.1.23-beta",
            "version/0.1.22-beta",
            "version/0.1.21-beta",
            "version/0.1.20-beta",
            "version/0.1.19-beta",
            "version/0.1.18-beta",
            "version/0.1.17-beta",
            "version/0.1.16-beta",
            "version/0.1.15-beta",
            "version/0.1.14-beta",
            "version/0.1.13-beta",
            "version/0.1.12-beta",
            "version/0.1.11-beta",
            "version/0.1.10-beta",
            "version/0.1.9-beta",
            "version/0.1.8-beta",
            "version/0.1.7-beta",
            "version/0.1.6-beta",
            "version/0.1.5-beta",
            "version/0.1.4-beta",
            "version/0.1.3-beta",
            "version/0.1.2-beta",
            "version/0.1.1-beta",
            "version/0.1.0-beta",
            "version/0.0.13-alpha",
            "version/0.0.12-alpha",
            "version/0.0.11-alpha",
            "version/0.0.10-alpha",
            "version/0.0.9-alpha",
            "version/0.0.8-alpha",
            "version/0.0.7-alpha",
            "version/0.0.6-alpha",
            "version/0.0.5-alpha",
            "version/0.0.4-alpha",
            "version/0.0.3-alpha",
            "version/0.0.2-alpha"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42490.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.828493302Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42490.json",
        "https://github.com/goauthentik/authentik/security/advisories/GHSA-qxqc-27pr-wgc8",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-42490",
        "https://github.com/goauthentik/authentik/commit/19318d4c00bb02c4ec3c4f8f15ac2e1dbe8d846c",
        "https://github.com/goauthentik/authentik/commit/359b343f51524342a5ca03828e7c975a1d654b11"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-285"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42490.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-42490",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498445,
  "published_at": "2024-08-22T15:34:45.815+00:00"
}