CVE-2026-29053: Ghost Remote Code Execution Vulnerability
HIGHCVE-2026-29053 is a HIGH (CVSS 7.6) remote code execution vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Ghost libraries in the npm ecosystem. The issue involves ghost vulnerable to remote code execution via malicious themes. Remediation is available by upgrading affected packages to version 6.19.1.
CVE-2026-29053 at a Glance
Security Impact
CVSS: 7.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2026-29053
To remediate this vulnerability, upgrade all affected Ghost dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install ghost@6.19.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls ghost
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-29053, inspect your project dependencies using npm:
npm ls ghost
Analyze the terminal output to locate any version of Ghost in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.19.1), your application is affected.
Note: The npm ls ghost command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In Ghost, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-29053 Affected Ghost Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ghost
|
npm |
≥ 0.7.2
< 6.19.1
|
6.19.1
|
References
Frequently Asked Questions
What is CVE-2026-29053?
Which Ghost versions are affected?
What version fixes CVE-2026-29053?
Is ghost affected?
What is the CVSS score of CVE-2026-29053?
What CWE is associated with CVE-2026-29053?
How can I check npm dependencies for CVE-2026-29053?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cgc2-rcrh-qr5x",
"modified" : "2026-03-05T15:28:15Z",
"published" : "2026-03-03T20:01:21Z",
"aliases" : [ "CVE-2026-29053" ],
"summary" : "Ghost Vulnerable to Remote Code Execution via Malicious Themes",
"details" : "### Impact\n\nSpecifically crafted malicious themes can execute arbitrary code on the server running Ghost. \n\n### Vulnerable Versions\n\nThis vulnerability is present in Ghost v0.7.2 to v6.19.0.\n\n### Patches\n\nv6.19.1 contains a fix for this issue.\n\n### Workarounds\n\nGhost generally recommends users refrain from installing untrusted themes. If a malicious theme has already been installed, it is recommended to uninstall the theme and then inspect it to understand its impact, which will be attack-specific. \n\n### References\nGhost thanks Cristian-Alexandru Staicu at Endor Labs for disclosing this vulnerability responsibly. \n\n### For more information\n\nIf there are any questions or comments about this advisory, email Ghost at [security@ghost.org](mailto:security@ghost.org).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "ghost"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.7.2"
}, {
"fixed" : "6.19.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.19.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/TryGhost/Ghost/security/advisories/GHSA-cgc2-rcrh-qr5x"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-29053"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/TryGhost/Ghost"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-03T20:01:21Z",
"nvd_published_at" : "2026-03-05T06:16:50Z"
}
}