Description
Ghost is a Node.js content management system. From 0.10.0 until 6.54.1, 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 through custom theme upload path traversal in LocalStorageBase and theme storage name handling. This issue is fixed in version 6.54.1.
Published: 2026-08-04
Score: 6.6 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Ghost allows a staff user to upload custom themes that can traverse the file system and write arbitrary files outside the designated uploads directory. This path‑traversal flaw, classified as CWE‑22, enables an attacker with staff permissions to modify or drop server files, potentially leading to compromised application logic or execution of malicious code.

Affected Systems

The flaw affects all Ghost installations built with TryGhost:Ghost versions from 0.10.0 up to but not including 6.54.1. Users running any of those releases are at risk until the fix is applied.

Risk and Exploitability

The CVSS score of 6.6 indicates a moderate severity. Although the EPSS score is not published and the vulnerability is not listed in CISA’s KEV catalog, the ability to write files as a staff user remains a significant risk because it leverages legitimate, high‑privilege accounts. An attacker who gains staff access can immediately exploit the flaw to alter site behavior or execute code, so the threat should be considered as soon as a vulnerable version is in use.

Generated by OpenCVE AI on August 4, 2026 at 23:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Ghost to version 6.54.1 or later, which removes the path‑traversal vulnerability.
  • If an upgrade is not immediately possible, restrict or disable the ability for staff users to upload or install custom themes until the update is applied.
  • Audit the uploads directory for unexpected or malicious files and remove any that were created with suspicious paths.

Generated by OpenCVE AI on August 4, 2026 at 23:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-cjc9-q5gf-327p Ghost: Theme Upload Path Traversal
History

Tue, 04 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
Description Ghost is a Node.js content management system. From 0.10.0 until 6.54.1, 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 through custom theme upload path traversal in LocalStorageBase and theme storage name handling. This issue is fixed in version 6.54.1.
Title Ghost: Theme Upload Path Traversal
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-04T21:49:49.968Z

Reserved: 2026-08-04T19:50:27.327Z

Link: CVE-2026-70593

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T23:45:02Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')