Skip to main content

CVE-2026-26980 — Ghost has a SQL injection in ghost — CVE Details

CRITICAL

Ghost has a SQL injection in Content API

Published February 18, 2026Updated June 8, 2026Source: OSV

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.

Check my package-lock.json

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
Update ghost to 6.19.1 or later
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).

PackageFixed In
ghost npm · Affected: All versions6.19.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.4 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

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

CVSS Score
9.4

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
5.93%
EPSS percentile: 94

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

GHSA-w52v-v783-gw97
BIT-ghost-2026-26980

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json