Skip to main content

Ghost CMS EUVDEUVD-2026-52977

| CVE-2026-70593 MEDIUM
Path Traversal (CWE-22)
2026-08-04 https://github.com/TryGhost/Ghost GHSA-cjc9-q5gf-327p
6.6
CVSS 3.1 · Vendor: https://github.com/TryGhost/Ghost
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain Ghost staff credentials
  2. Delivery
    Authenticate to Ghost admin panel
  3. Exploit
    Craft theme ZIP with path-traversal filename
  4. Install
    Upload theme via admin theme manager
  5. C2
    LocalStorageBase resolves traversal path outside uploads dir
  6. Execute
    Write arbitrary file to Ghost host filesystem
  7. Impact
    Alter 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 ../../config.production.json or a filename that resolves outside content/themes/. Prior to patching, Ghost's LocalStorageBase writes the file to the resolved path without checking it remains within the uploads boundary, overwriting an arbitrary file on the host filesystem. The attacker could overwrite Ghost configuration, inject a malicious server-side script into the application's Node.js directory, or corrupt content files - altering installation behavior without any further interaction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Ghost 0.10.0, < 6.54.1

Affected Packages

npm ghost fix: 6.54.1

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

Vendor (https://github.com/TryGhost/Ghost) PRIMARY 6.6 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:L
vuln.today AI 7.6 HIGH

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:N

Primary rating from Vendor (https://github.com/TryGhost/Ghost).

CVSS VectorVendor: https://github.com/TryGhost/Ghost

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

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

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular self-hosted CMS, significant but not ubiquitous enterprise footprint
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

53
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +33
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy