{"answers":{"affected":"3 open source packages ship an affected version, including ghost. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-26980 exists.","fix":"Upgrade ghost to 6.19.1 or later.","what":"CVE-2026-26980 is a critical SQL injection vulnerability in TryGhost Ghost, published on 20 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-26980 and fix it if it is affected.\n\nWhat it is: CVE-2026-26980 is a critical SQL injection vulnerability in TryGhost Ghost, published on 20 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-26980 exists.\n\nAffected packages and fixed versions:\n- ghost (Bitnami): affected from 3.24.0; fixed in 6.19.1\n- ghost (npm): affected from 3.24.0; fixed in 6.19.1\n- ghost (npm): affected from 3.24.0; fixed in 6.19.1\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-2026-26980/ (Markdown: https://insights.sbomify.com/CVE-2026-26980/index.md)","id":"CVE-2026-26980","markdown":"https://insights.sbomify.com/CVE-2026-26980/index.md","name":"CVE-2026-26980","record":{"aliases":["BIT-ghost-2026-26980","GHSA-w52v-v783-gw97"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Ghost CMS","requires_auth":"none","summary":"Unauthenticated attackers can perform arbitrary database reads via SQL injection in the Ghost Content API.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ghost","vendor":"ghost"}],"cvss":{"score":9.4,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"Ghost is a Node.js content management system. Versions 3.24.0 through 6.19.0 allow unauthenticated attackers to perform arbitrary reads from the database. This issue has been fixed in version 6.19.1.","ecosystems":["Bitnami","npm"],"exploits":{"exploitdb":1,"first_seen":"2026-03-29","github_poc":7,"max_poc_stars":19,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-04-17T19:15:20Z","kind":"github_poc","ref":"https://github.com/dinosn/ghost-cve-2026-26980","stars":19,"title":"CVE-2026-26980 — Ghost CMS Content API SQL Injection Lab (unauthenticated blind SQLi via slug filter ordering)"},{"date":"2026-06-26T05:57:53Z","kind":"github_poc","ref":"https://github.com/gagaltotal/CVE-2026-26980-Ghost-CMS-Api","stars":11,"title":"CVE-2026-26980 - Ghost CMS Content API SQL Injection"},{"date":"2026-03-29T22:00:18Z","kind":"github_poc","ref":"https://github.com/vognik/CVE-2026-26980","stars":10,"title":"💣 Exploit for CVE-2026-26980 — 👻 Ghost CMS Unauthenticated SQLi via Content API"},{"date":"2026-05-27T07:59:41Z","kind":"github_poc","ref":"https://github.com/EQSTLab/CVE-2026-26980","stars":3,"title":"Ghost Content API SQL Injection"},{"date":"2026-06-26T16:50:28Z","kind":"github_poc","ref":"https://github.com/n0bitaemon/CVE-2026-26980-PoC","stars":1,"title":"Ghost CMS Content API Blind SQL Injection"},{"date":"2026-08-21T04:18:22Z","kind":"github_poc","ref":"https://github.com/yym8538/CVE-2026-26980","stars":1,"title":null},{"date":"2026-05-07","kind":"exploitdb","ref":"52555","stars":null,"title":"Ghost CMS 6.19.0 - SQLi"},{"date":"2026-05-20T07:16:41Z","kind":"github_poc","ref":"https://github.com/Kulik-Labs-Development/Ghost-CMS-Code-Injection-Audit-CVE-2026-26980","stars":0,"title":"Outdated Ghost CMS websites that have fallen become compromised from CVE-2026-26980 can suffer from spam code injection to pages. Use this to mass clear and edit code injection fields. "}],"tier":"weaponised"},"has_fix":true,"headline":"Ghost has a SQL Injection in its Content API","id":"CVE-2026-26980","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"OpenEXR has heap-buffer-overflow via signed integer underflow in ImfContextInit.cpp","id":"CVE-2026-26981"},"packages":[{"ecosystem":"Bitnami","fixed":["6.19.1"],"introduced":["3.24.0"],"last_affected":[],"package":"ghost","purl":"pkg:bitnami/ghost","source":"BIT-ghost-2026-26980"},{"ecosystem":"npm","fixed":["6.19.1"],"introduced":["3.24.0"],"last_affected":[],"package":"ghost","purl":null,"source":"GHSA-w52v-v783-gw97"},{"ecosystem":"npm","fixed":["6.19.1"],"introduced":["3.24.0"],"last_affected":[],"package":"ghost","purl":"pkg:npm/ghost","source":"GHSA-w52v-v783-gw97"}],"prev":{"headline":"Discourse: TL4 users are able to change status of restricted topics","id":"CVE-2026-26979"},"products":["Ghost"],"published":"2026-02-20","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.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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-26","vendors":["TryGhost"]},"summary":"Unauthenticated attackers can perform arbitrary database reads via SQL injection in the Ghost Content API.","url":"https://insights.sbomify.com/CVE-2026-26980/"}