Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-26980: Unauthenticated Blind SQL Injection in Ghost Content API

Published Feb 20, 2026 · Updated 10 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days5 mentions · peak 2 in a dayToday
CVSS7.5High · v3.1
EPSS5.9%94th percentile
CISA KEVNoNot listed
In the wildReported21 exploitation records in Mallory
Vendor
Ghost
IdentifiersCVE-2026-26980CWE-89 · Improper Neutralization of Special…

CVE-2026-26980 is a blind SQL injection vulnerability in the Content API of Ghost, a Node.js content management system, affecting versions 3.24.0 through 6.19.0 inclusive. Attacker-controlled slug/order input is concatenated into an SQL ORDER BY clause without safe parameterization, allowing unauthenticated attackers to extract arbitrary database contents through crafted HTTP requests. Exposed data can include Admin API keys, enabling subsequent unauthorized administrative operations and modification of published content. Ghost 6.19.1 fixes the vulnerability.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises database confidentiality, potentially exposing API keys, authentication material, user records, password hashes, and unpublished content. Stolen Admin API keys enable unauthorized administrative actions, including modification of articles and injection of malicious JavaScript into trusted pages. Active exploitation has compromised more than 700 websites for ClickFix malware-delivery campaigns. Visitor malware execution is a downstream social-engineering outcome requiring users to execute attacker-supplied commands, not direct code execution provided by the SQL injection.

Mitigation

If you can’t patch tonight, do this now.

No application-level workaround is available. Until upgrading, use a reverse proxy or WAF rule to block Content API requests whose query-string filter parameter contains slug%3A%5B or slug:[. This temporary rule may break legitimate slug filtering and should not be treated as equivalent to patching. Review staff users and rotate potentially exposed API keys. Retain at least 30 days of Admin API logs and monitor for unusual bulk article modifications.

Remediation

Patch, then assume compromise.

Upgrade Ghost to version 6.19.1 or later, preferably the latest supported release. Rotate exposed or potentially exposed API keys and administrator credentials, invalidate sessions, and review staff users for unauthorized changes. For potentially compromised installations, audit administrative activity, remove injected scripts from stored article content, inspect themes and Code Injection settings, and investigate other unauthorized modifications. Patching alone does not revoke stolen keys or remove injected content.

Public exploits

Exploits

5 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
CVE-2026-26980This repository is a small standalone Python exploit for CVE-2026-26980, described as an unauthenticated SQL injection in Ghost CMS's public Content API leading to arbitrary database reads. The repository contains five files: a GPL license, a README with usage and lab instructions, the main exploit script (`main.py`), a minimal dependency file (`requirements.py`, though it is named like a Python file rather than `requirements.txt`), and a Docker Compose lab for Ghost 6.16.1 with MariaDB. The core logic is entirely in `main.py`. The exploit first requests the target homepage and scrapes `data-key` and `data-api` values from the HTML. It then queries the public `tags` API endpoint to obtain a valid tag slug and ID, which are used to construct a vulnerable `filter=slug:[...]` request template. The injection is implemented as a blind boolean oracle that intentionally triggers database errors when a tested condition is true. For SQLite it uses integer overflow via `abs(-9223372036854775808)`, and for MySQL it uses `exp(710)`. The script detects success by searching the HTTP response body for `badrequesterror` or `InternalServerError`. Using this oracle, the exploit performs bitwise length inference and binary-search character extraction. It supports concurrent extraction with a thread pool to speed up blind exfiltration. In default mode it performs reconnaissance against common Ghost tables (`users`, `members`, `api_keys`, `sessions`) and extracts high-value secrets including the first admin email, admin name, password hash, admin API key ID, and admin API secret. In table-dump mode, it can enumerate record counts and dump arbitrary rows from a specified table. For SQLite, it additionally queries `sqlite_master` to recover schema SQL and infer column names; for MySQL, column handling is more heuristic and defaults to common fields. The exploit is operational rather than a mere proof of concept because it contains end-to-end discovery, oracle calibration, multithreaded extraction, and table dumping functionality. It is not part of a larger exploit framework. One code-quality issue is that `main.py` references `textwrap.dedent` in the CLI epilog but does not import `textwrap`, which would cause a runtime error unless corrected. Despite that bug, the intended exploit behavior and capabilities are clear from the code.vognik · Disclosed Mar 29, 2026 · python · yaml · web · networkOperationalghost-cve-2026-26980This repository is a self-contained lab and operational PoC for CVE-2026-26980, an unauthenticated blind SQL injection in Ghost CMS Content API slug filter ordering. The repo contains 5 files: a detailed README, docker-compose.yml to launch vulnerable Ghost 6.18.0 and fixed Ghost 6.19.1 with MySQL 8, exploit.py as the main Python exploit, requirements.txt listing requests, and validate.sh for end-to-end validation. The exploit is not tied to a common framework. The main capability is unauthenticated arbitrary database read from affected Ghost instances by abusing the public Content API key and injecting SQL through slug array ordering. The Python script automates target readiness checks, optional Ghost setup/login for the local lab, retrieval or use of a Content API key, verification of the boolean oracle, and blind extraction of sensitive values. The oracle relies on a crafted slug payload using CASE WHEN ... THEN 0 ELSE EXP(710) END so that true conditions return HTTP 200 and false conditions trigger HTTP 500 due to MySQL overflow. The script can extract the admin email by default and optionally the admin bcrypt hash and admin API secret. It also includes a validation mode to confirm the fix on patched versions. Repository structure and purpose: README.md explains the vulnerability, affected/fixed versions, exploitation method, and usage examples. docker-compose.yml provisions two Ghost environments for testing: vulnerable on localhost:2368 and fixed on localhost:2369, each backed by MySQL 8. exploit.py is the primary entry point and contains the exploit logic, CLI, hardcoded lab credentials, and HTTP interactions with Ghost admin and content API endpoints. validate.sh installs dependencies, starts both containers, runs the exploit against the vulnerable instance, validates the fix against the patched instance, and optionally tears down the lab. Overall, this is a real exploit PoC with practical extraction capability rather than a simple detector. It targets Ghost CMS versions prior to 6.19.1 and demonstrates blind SQLi-based database disclosure over HTTP.dinosn · Disclosed Apr 17, 2026 · markdown · yaml · web · networkOperationalCVE-2026-26980This repository is a self-contained exploit lab and PoC for CVE-2026-26980, an unauthenticated SQL injection in TryGhost Ghost CMS Content API filter handling. The repo contains a Docker-based environment that installs Ghost 6.19.0, seeds a SQLite database with a known public Content API key and oracle tags, and a Python exploit script that abuses the public /ghost/api/content/tags/ endpoint. Repository structure: Dockerfile builds a vulnerable Ghost 6.19.0 lab on port 9102; docker-entrypoint.sh starts Ghost, waits for readiness, and seeds the database with branding, a fake flag table, a static content API key, and two public tags (bacon/chorizo) used as an oracle; patch-source-theme.sh modifies the default Ghost theme for lab branding; poc.py is the main exploit. README.md documents the vulnerability, setup, and usage. Main exploit behavior in poc.py: it sends GET requests to /ghost/api/content/tags/?key=<key>&filter=<payload>, where the filter is crafted by condition_filter() to inject SQL into the slug:[...] ordering logic. The exploit uses the relative order of returned tags as a boolean oracle: if the injected condition is true, bacon appears first; if false, chorizo appears first. On top of this primitive, the script implements value_length() and count_rows() using binary search, and recover_value_by_prefix() for character-by-character extraction. It targets users, settings, and api_keys tables and demonstrates extraction of admin email, admin name, admin API key ID, and admin API secret. This is a real exploit PoC rather than a detector. It does not attempt code execution; its capability is database enumeration and arbitrary value extraction via blind boolean SQLi over a public unauthenticated web endpoint, provided a public Content API key is available.EQSTLab · Disclosed May 27, 2026 · dockerfile · markdown · web · networkOperationalCVE-2026-26980-PoCThis repository is a working proof-of-concept exploit and lab environment for CVE-2026-26980, a blind SQL injection in Ghost CMS Content API slug filtering. The main exploit is exploit/exploit.py, a standalone Python script using requests to send crafted GET requests to /ghost/api/content/posts/ with a malicious filter parameter. It uses HTTP status behavior as an oracle: for SQLite, a true condition triggers an expensive randomblob/hex expression causing HTTP 500; for MySQL, a false condition triggers EXP(710) overflow causing HTTP 500. The script supports DBMS auto-detection, optional proxying, delay-based throttling avoidance, patched-version validation, and selective extraction of emails, bcrypt hashes, Content API keys, and Admin API keys, including multi-record extraction. Repository structure is small and purposeful: README.md documents the vulnerability, payload format, usage, and lab setup; exploit/exploit.py contains the actual exploitation logic; mysql-init/01-init.sql initializes a second MySQL database for patched testing; mysql_docker-compose.yml and sqlite_docker-compose.yml provide reproducible vulnerable/patched lab environments for MySQL and SQLite; vulnerable/Dockerfile builds Ghost 6.18.0; patched/Dockerfile builds Ghost 6.19.1. The exploit is not merely a detector: it is capable of extracting sensitive database contents from unauthenticated targets that expose a valid public Content API key. Overall maturity is operational rather than weaponized because it includes a functional hardcoded extraction workflow but is not part of a larger exploitation framework.n0bitaemon · Disclosed Jun 26, 2026 · python · sql · web · networkOperationalCVE-2026-26980This six-file repository provides an operational Python proof of concept and a Dockerized vulnerable TryGhost Ghost CMS 6.19.0 lab for CVE-2026-26980. `poc.py` constructs a malicious list-style `slug` filter and requests the public `/ghost/api/content/tags/` endpoint using a Content API key. It exploits unsafe slug interpolation in an SQL ORDER BY CASE clause: a true injected condition causes `bacon` to be returned before `chorizo`, while a false condition preserves the opposite ordering. The script uses this oracle for binary length/count checks and character-by-character SQLite value recovery. The exploit is not limited to detection: it reads administrator identity data and administrator API-key material, and demonstrates access to multiple Ghost database tables. The included Dockerfile installs Ghost 6.19.0, while `docker-entrypoint.sh` initializes the instance, seeds the static public key `EQSTLab299`, creates the two oracle tags, and inserts a disposable `cvep_flags` table/value for the lab. `patch-source-theme.sh` applies cosmetic theme branding. README documentation describes affected versions, execution, payload mechanics, and remediation in Ghost 6.19.1. The Dockerfile refers to two image assets not included in the provided six-file listing, so a direct image build from precisely this archive may fail unless those assets are supplied.yym8538 · Disclosed Aug 21, 2026 · python · bash · webOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
GhostGhostapplication
FAQ

Frequently asked questions

Is CVE-2026-26980 exploited in the wild?
Yes. As of Nov 19, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2026-26980?
Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2026-26980, the earliest disclosed Mar 29, 2026.
Is there a patch for CVE-2026-26980?
Upgrade Ghost to version 6.19.1 or later, preferably the latest supported release. Rotate exposed or potentially exposed API keys and administrator credentials, invalidate sessions, and review staff users for unauthorized changes.
What products are affected by CVE-2026-26980?
Ghost.
How severe is CVE-2026-26980?
CVE-2026-26980 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 5.9% (94th percentile) as of Nov 19, 2026.
Activity feed

Recent activity

161 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+18 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware8Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity139Community discussion across Reddit, Mastodon, and other social sources.