{"answers":{"affected":"3 open source packages ship an affected version, including ghost. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-39192 in the wild and no public exploit code.","fix":"Upgrade ghost to 4.10.0 or later.","what":"CVE-2021-39192 is a medium-severity vulnerability in TryGhost Ghost, published on 3 Sep 2021. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-39192 and fix it if it is affected.\n\nWhat it is: CVE-2021-39192 is a medium-severity vulnerability in TryGhost Ghost, published on 3 Sep 2021. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-39192 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ghost (Bitnami): affected from 4.0.0; fixed in 4.10.0\n- ghost (npm): affected from 4.0.0; fixed in 4.10.0\n- ghost (npm): affected from 4.0.0; fixed in 4.10.0\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-2021-39192/ (Markdown: https://insights.sbomify.com/CVE-2021-39192/index.md)","id":"CVE-2021-39192","markdown":"https://insights.sbomify.com/CVE-2021-39192/index.md","name":"CVE-2021-39192","record":{"aliases":["BIT-ghost-2021-39192","GHSA-j5c2-hm46-wp5c"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Ghost CMS","requires_auth":"high_privilege","summary":"Authenticated users can view admin-level API keys, enabling privilege escalation and unauthorized access to sensitive administrative functions.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ghost","vendor":"ghost"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Ghost is a Node.js content management system. An error in the implementation of the limits service between versions 4.0.0 and 4.9.4 allows all authenticated users (including contributors) to view admin-level API keys via the integrations API endpoint, leading to a privilege escalation vulnerability. This issue is patched in Ghost version 4.10.0. As a workaround, disable all non-Administrator accounts to prevent API access. It is highly recommended to regenerate all API keys after patching or applying the workaround.","ecosystems":["Bitnami","npm"],"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":"Privilege escalation: all users can access Admin-level API keys","id":"CVE-2021-39192","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"privilege_escalation","year":"2021"},"n_packages":3,"n_references":2,"next":{"headline":"Transaction validity oversight in pallet-ethereum","id":"CVE-2021-39193"},"packages":[{"ecosystem":"Bitnami","fixed":["4.10.0"],"introduced":["4.0.0"],"last_affected":[],"package":"ghost","purl":"pkg:bitnami/ghost","source":"BIT-ghost-2021-39192"},{"ecosystem":"npm","fixed":["4.10.0"],"introduced":["4.0.0"],"last_affected":[],"package":"ghost","purl":null,"source":"GHSA-j5c2-hm46-wp5c"},{"ecosystem":"npm","fixed":["4.10.0"],"introduced":["4.0.0"],"last_affected":[],"package":"ghost","purl":"pkg:npm/ghost","source":"GHSA-j5c2-hm46-wp5c"}],"prev":{"headline":"URL Redirection to Untrusted Site ('Open Redirect') in mod_auth_openidc","id":"CVE-2021-39191"},"products":["Ghost"],"published":"2021-09-03","related":[{"cvss_score":9.8,"headline":"Arbitrary file upload in Ghost","id":"CVE-2022-27139","kev_date_added":null,"published":"2022-04-12"},{"cvss_score":9.8,"headline":"Arbitrary file upload in Ghost","id":"CVE-2022-28397","kev_date_added":null,"published":"2022-04-12"},{"cvss_score":9.6,"headline":"ghost vulnerable to unauthorized newsletter modification via improper access controls","id":"CVE-2022-41654","kev_date_added":null,"published":"2022-12-23"},{"cvss_score":9.4,"headline":"Ghost has a SQL Injection in its Content API","id":"CVE-2026-26980","kev_date_added":null,"published":"2026-02-20"},{"cvss_score":9.1,"headline":"Security feature bypass in n/a","id":"CVE-2024-34451","kev_date_added":null,"published":"2024-06-16"},{"cvss_score":9,"headline":"Ghost has possible Cross-site Scripting issue","id":"CVE-2024-23724","kev_date_added":null,"published":"2024-02-11"},{"cvss_score":9,"headline":"Cross-site scripting in Ghost","id":"CVE-2022-47194","kev_date_added":null,"published":"2023-01-19"}],"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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["TryGhost"]},"summary":"Authenticated users can view admin-level API keys, enabling privilege escalation and unauthorized access to sensitive administrative functions.","url":"https://insights.sbomify.com/CVE-2021-39192/"}