CVE-2026-26980: Ghost SQL Injection Vulnerability in Content API
Summary
CVE-2026-26980: Ghost has a SQL injection in Content API. Affects ghost versions >= 3.24.0, < 6.19.1. Fixed in 6.19.1. How to fix ↓
Also tracked for
- ghost · Bitnami
The same CVE-2026-26980 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Ghost is a popular open-source publishing platform designed for creating and managing online content. It offers a user-friendly interface and a robust Content API that allows developers to interact with the platform programmatically. However, a critical SQL injection vulnerability has been identified in the Content API, which could allow unauthorized access to sensitive data.
Vulnerability Detail
A SQL injection vulnerability exists in Ghost's Content API, allowing unauthenticated attackers to read arbitrary data from the database. This vulnerability arises from improper handling of user input in the API, which can be exploited to execute malicious SQL queries. The impact of this vulnerability is severe, as it can lead to unauthorized data exposure, potentially compromising user information and application integrity.
How To Fix
Latest published version: 6.72.0 as of 22 Oct 2026
npm install ghost@6.72.0
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
6.19.1
This is the first release that contains the fix.
npm install ghost@6.19.1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary mitigation, you can implement a reverse proxy or WAF rule to block Content API requests containing 'slug%3A%5B' or 'slug:[' in the query string filter parameter. Note that this may disrupt legitimate functionality related to slug filtering.
Conclusion
The SQL injection vulnerability in Ghost's Content API poses a significant risk to data security. It is crucial for users to update to the latest version to protect against potential data breaches. Implementing temporary workarounds can provide some level of protection until the update is applied.
See every vulnerability recorded for ghost →
FAQ
The vulnerability is a SQL injection flaw in Ghost's Content API that allows unauthorized access to database information.
The vulnerability affects Ghost versions from 3.24.0 to 6.19.0.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The CVSS score of this vulnerability is 9.4, indicating a critical level of severity.
Yes, you can temporarily block specific API requests using a reverse proxy or WAF rule, but this may affect legitimate functionality.
References
Related vulnerabilities
Recent vulnerabilities recorded for ghost.