{"answers":{"affected":"6 open source packages ship an affected version, including goauthentik.io and authentik. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-42490 in the wild and no public exploit code.","fix":"Upgrade goauthentik.io to a fixed version for your release line: 2024.4.4 or 2024.6.4.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-42490 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-42490 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- goauthentik.io (Go): affected all versions; no fix listed\n- goauthentik.io (Go): affected all versions; fixed in 2024.4.4\n- goauthentik.io (Go): affected all versions; fixed in 2024.4.4\n- goauthentik.io (Go): affected from 2024.6.0-rc1; fixed in 2024.6.4\n- goauthentik.io (Go): affected from 2024.6.0-rc1; fixed in 2024.6.4\n- authentik (Bitnami): affected all versions; fixed in 2024.4.4, 2024.6.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-42490/ (Markdown: https://insights.sbomify.com/CVE-2024-42490/index.md)","id":"CVE-2024-42490","markdown":"https://insights.sbomify.com/CVE-2024-42490/index.md","name":"CVE-2024-42490","record":{"aliases":["BIT-authentik-2024-42490","GHSA-qxqc-27pr-wgc8","GO-2024-3085"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Identity Provider","requires_auth":"none","summary":"Unauthenticated users can access sensitive certificate and object data via API endpoints if they possess the specific UUID.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"authentik","vendor":"goauthentik"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"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/\u003cuuid\u003e/view_certificate/, /api/v3/crypto/certificatekeypairs/\u003cuuid\u003e/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.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"authentik has Insufficient Authorization for several API endpoints","id":"CVE-2024-42490","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":6,"n_references":3,"next":{"headline":"Null dereference in asterisk","id":"CVE-2024-42491"},"packages":[{"ecosystem":"Bitnami","fixed":["2024.4.4","2024.6.4"],"introduced":["0","2024.6.0"],"last_affected":[],"package":"authentik","purl":"pkg:bitnami/authentik","source":"BIT-authentik-2024-42490"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"goauthentik.io","purl":"pkg:golang/goauthentik.io","source":"GO-2024-3085"},{"ecosystem":"Go","fixed":["2024.4.4"],"introduced":["0"],"last_affected":[],"package":"goauthentik.io","purl":null,"source":"GHSA-qxqc-27pr-wgc8"},{"ecosystem":"Go","fixed":["2024.4.4"],"introduced":["0"],"last_affected":[],"package":"goauthentik.io","purl":"pkg:golang/goauthentik.io","source":"GHSA-qxqc-27pr-wgc8"},{"ecosystem":"Go","fixed":["2024.6.4"],"introduced":["2024.6.0-rc1"],"last_affected":[],"package":"goauthentik.io","purl":null,"source":"GHSA-qxqc-27pr-wgc8"},{"ecosystem":"Go","fixed":["2024.6.4"],"introduced":["2024.6.0-rc1"],"last_affected":[],"package":"goauthentik.io","purl":"pkg:golang/goauthentik.io","source":"GHSA-qxqc-27pr-wgc8"}],"prev":{"headline":"Pro Macros Remote Code Execution via Viewpdf and similar macros","id":"CVE-2024-42489"},"products":["authentik"],"published":"2024-08-22","related":[{"cvss_score":9.8,"headline":"authentik: SourceStage bypass via empty POST","id":"CVE-2026-49448","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":9.7,"headline":"authentik potential installation takeover when default admin user is deleted","id":"CVE-2023-46249","kev_date_added":null,"published":"2023-10-31"},{"cvss_score":9.4,"headline":"authentik vulnerable to Improper Authentication via invitation URL token reuse","id":"CVE-2022-23555","kev_date_added":null,"published":"2022-12-28"},{"cvss_score":9.3,"headline":"authentik: Reflected XSS in SFE AutosubmitStage allows IDP account takeover","id":"CVE-2026-42849","kev_date_added":null,"published":"2026-06-02"},{"cvss_score":9.1,"headline":"authentik affected by Remote Code Execution via Context Key Injection in PropertyMapping Test Endpoint","id":"CVE-2026-25227","kev_date_added":null,"published":"2026-02-12"},{"cvss_score":9.1,"headline":"authentik vulnerable to password authentication bypass via X-Forwarded-For HTTP header","id":"CVE-2024-47070","kev_date_added":null,"published":"2024-09-27"},{"cvss_score":9.1,"headline":"Insufficient user check in FlowTokens by Email stage","id":"CVE-2023-26481","kev_date_added":null,"published":"2023-03-04"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-22","vendors":["goauthentik"]},"summary":"Unauthenticated users can access sensitive certificate and object data via API endpoints if they possess the specific UUID.","url":"https://insights.sbomify.com/CVE-2024-42490/"}