{"id":"CVE-2024-42490","published":"2024-08-22T15:34:45Z","modified":"2024-08-22T16:04:32Z","title":"authentik has Insufficient Authorization for several API endpoints","vendor":"goauthentik","product":"authentik","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00477,"percentile":0.42082,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/goauthentik/authentik/security/advisories/GHSA-qxqc-27pr-wgc8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/goauthentik/authentik/commit/19318d4c00bb02c4ec3c4f8f15ac2e1dbe8d846c","tags":["x_refsource_MISC"]},{"url":"https://github.com/goauthentik/authentik/commit/359b343f51524342a5ca03828e7c975a1d654b11","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":8.42},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"goauthentik","affectedVersions":[{"vendor":"goauthentik","product":"authentik","versions":["< 2024.4.4",">= 2024.6.0-rc1, < 2024.6.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-22T16:04:13.415208Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"goauthentik.io","vulnerableRanges":[">=2024.6.0-rc1, <2024.6.4","<2024.4.4","all versions"],"patched":["2024.6.4","2024.4.4"],"from":["GHSA-qxqc-27pr-wgc8","GO-2024-3085"],"provenance":"source"}],"summary":{"text":"authentik, an open-source Identity Provider, has an insufficient authorization flaw in several of its API endpoints, including the certificate key pair view and used_by endpoints. An unauthenticated remote attacker can reach these endpoints without correct authorization checks, but only if they already know the UUID of the target object, which is hard to obtain or guess for most objects and especially for certificates.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:36Z"},"euvd":{"id":"EUVD-2024-2642","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-goauthentik-authentik-cve-2023-48228","children":[{"from":"CVE-2024-42490","to":"CVE-2024-52289","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["authentik/crypto/tests.py"],"commits":["https://github.com/goauthentik/authentik/commit/19318d4c00bb02c4ec3c4f8f15ac2e1dbe8d846c","https://github.com/goauthentik/authentik/commit/359b343f51524342a5ca03828e7c975a1d654b11","https://github.com/goauthentik/authentik/commit/85bb638243c8d7ea42ddd3b15b3f51a90d2b8c54"],"basis":"shared function","functions":["test_used_by"]}]}]}}