CVE-2026-26980 — Ghost has a SQL injection in ghost — CVE Details
Ghost has a SQL injection in Content API
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (5.93%). Schedule for your next planned update.
Does your project use an affected ghost version?
Paste your package-lock.json to check it for CVE-2026-26980 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
A SQL injection vulnerability existed in Ghost's Content API that allowed unauthenticated attackers to read arbitrary data from the database.
Vulnerable Versions
This vulnerability is present in Ghost v3.24.0 to v6.19.0.
Patches
v6.19.1 contains a fix for this issue.
Note: as this vulnerability lets an attacker gain access to a site's API keys, we recommend reviewing staff users and rotating keys. We generally recommend always updating Ghost to its most current version.
Workarounds
There is no application-level workaround. The Content API key is public by design, so restricting key access does not mitigate this vulnerability.
As a temporary mitigation, a reverse proxy or WAF rule can be used to block Content API requests containing slug%3A%5B or slug:[ in the query string filter parameter. Note that this may break legitimate slug filter functionality.
References
We thank Nicholas Carlini using Claude, Anthropic for disclosing this vulnerability responsibly.
For more information
If you have any questions or comments about this advisory, email us at security@ghost.org.
Advisory Timeline
- First published February 18, 2026 (281 days ago).
- Last revised June 8, 2026 — 110 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install ghost@6.19.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| ghost npm · Affected: All versions | 6.19.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.4 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
References
- https://github.com/TryGhost/Ghost/security/advisories/GHSA-w52v-v783-gw97WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-26980ADVISORY
- https://github.com/TryGhost/Ghost/commit/30868d632b2252b638bc8a4c8ebf73964592ed91WEB
- https://blog.xlab.qianxin.com/ghost-cms-page-poisoning-cve-2026-26980WEB
- https://github.com/TryGhost/GhostPACKAGE
- https://github.com/TryGhost/Ghost/releases/tag/v6.19.1WEB
Frequently Asked Questions
- What is CVE-2026-26980?
- Ghost has a SQL injection in Content API. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.4/10).
- How do I check if my project is affected by CVE-2026-26980?
- CVE-2026-26980 affects ghost. It has a 5.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-26980 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 10% of EPSS-scored vulnerabilities — 94% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2026-53943CRITICAL
Ghost: Cache-poisoning XSS in Ghost frontend via x-ghost-preview header
- CVE-2026-76807CRITICAL
Todoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server
- CVE-2026-114516CRITICAL
Etherpad: Pre-auth arbitrary file read
- CVE-2026-105642HIGH
Ghost: Remote Code Execution via Bookmark Card Images
- CVE-2026-24778HIGH
Ghost vulnerable to XSS via malicious Portal preview links