Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain Ghost staff credentials
-
DeliveryAuthenticate to Ghost admin panel
-
ExploitCraft theme ZIP with path-traversal filename
-
InstallUpload theme via admin theme manager
-
C2LocalStorageBase resolves traversal path outside uploads dir
-
ExecuteWrite arbitrary file to Ghost host filesystem
-
ImpactAlter application behavior or overwrite configuration
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an active, authenticated Ghost staff-level session (CVSS PR:H) - unauthenticated and subscriber-level users cannot upload themes. The attacker must have access to the Ghost admin panel's theme upload endpoint, which is enabled by default in all Ghost installations (self-hosted and Ghost-CLI). Attack complexity is rated High (AC:H) by the vendor, suggesting the attacker must identify a suitable writable target path outside the uploads directory. Exploitation is further constrained to self-hosted Ghost instances (Docker or Ghost-CLI) where the process has filesystem write access outside the uploads directory; managed Ghost Pro installations may apply additional controls. The vulnerability does not require non-default configuration to be exploitable - it is present in the default theme upload flow. |
| Impact | The CVSS vector (AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:L, score 6.6) correctly reflects that exploitation is gated behind staff-level authentication (PR:H) and describes the impact as Scope:Changed - indicating that file writes escape the theme storage component and can affect the broader Ghost installation. Attack complexity is rated High (AC:H) by the vendor; however, the actual exploit primitive - crafting a theme archive with a traversal filename - is not inherently complex, suggesting AC:H may reflect the need to identify a writable target path rather than a technical exploit barrier. No EPSS score was available in the provided intelligence, preventing probabilistic exploitation assessment. The absence of a KEV listing and POC code indicates no known widespread exploitation at time of analysis. Real-world priority is elevated for multi-tenant or SaaS Ghost deployments where adversarial staff users are a plausible threat model, but lower for single-operator self-hosted instances where all staff are trusted. The confidentiality impact of N is consistent with a write-only primitive. |
| Exploit ScenarioDerived | A malicious or compromised Ghost staff user authenticates to the Ghost admin panel and uploads a crafted theme ZIP archive in which an internal file carries a path-traversal name such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Path traversal in Ghost CMS theme upload (CWE-22) allows an authenticated staff-level user to write arbitrary files outside the designated uploads directory, potentially altering the behavior of the entire Ghost installation. Affected versions span v0.10.0 through v6.54.0 of the npm/ghost package - a wide range covering essentially all modern deployments. No public exploit code or CISA KEV listing exists at time of analysis; however, the CVSS Scope:Changed metric reflects that a successful write can affect components beyond the theme storage boundary, elevating the real-world impact above the moderate base score suggests.
RemediationAI
Upgrade Ghost to v6.54.1 or later, which contains the complete fix (commit fbaa92327e52607036a1e42204c9eadcc751d82c). For Docker deployments, update the official ghost image following https://docs.ghost.org/install/docker#updating-ghost; for Ghost-CLI installations, follow https://docs.ghost.org/update. Vendor-released patch version v6.54.1 is independently confirmed via the GitHub release tag. If immediate patching is not feasible, restrict staff-role membership to fully trusted users as a compensating control, since the attack requires an authenticated staff session - note this does not eliminate the vulnerability but reduces the attacker population. There is no configuration switch to disable theme uploads without broader functional impact to Ghost's customization workflow.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Ghost is a Node.js headless CMS distributed as the npm package pkg:npm/ghost. The vulnerability exists in two components: ghost/core/core/server/services/themes/storage.js, which processes incoming theme names, and ghost/core/core/server/adapters/storage/LocalStorageBase.ts, the shared storage adapter responsible for resolving and writing files to disk. The root cause (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) is the absence of boundary validation on theme names and resolved file paths - a theme archive with a name containing ../ sequences would cause path.join() to resolve a destination outside content/themes/. The patch (commit fbaa92327e52607036a1e42204c9eadcc751d82c) adds two independent controls: a regex /^[./]*$/ in themes/storage.js to reject names composed entirely of path traversal characters, and a path.resolve() prefix check in LocalStorageBase.ts ensuring the resolved output path starts within the declared target directory.
Know when Docker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:L
AC:L chosen over vendor AC:H because crafting a path-traversal theme name is straightforward with no attacker-uncontrollable conditions; PR:H retained as staff authentication is required; S:C reflects writes escaping the uploads directory boundary.
Primary rating from Vendor (https://github.com/TryGhost/Ghost).
CVSS VectorVendor: https://github.com/TryGhost/Ghost
DescriptionCVE.org
Impact
A vulnerability in custom themes allowed a staff user to write files outside of the uploads directory. This could be used to alter the behavior of the installation.
Vulnerable versions
This vulnerability is present in Ghost from v0.10.0 up to v6.54.0.
Patches
v6.54.1 contains a fix for this issue.
How to update
For self-hosters using Docker, find Docker's official Ghost image here. Updating a Docker-based Ghost instance is documented here.
If your Ghost is a Ghost-CLI install see our documentation on updating it to the latest version here.
References
Ghost thanks Stephen Sims, Off By One Security for disclosing this vulnerability responsibly.
For more information
If you have any questions or comments about this advisory, email Ghost at [security@ghost.org](mailto:security@ghost.org).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-52977
GHSA-cjc9-q5gf-327p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB