Description
Ghost is a Node.js content management system. From 1.20.1 until 6.54.1, an Administrator-level user could remotely overwrite certain files on the filesystem through the database backup filename, leading to integrity and availability issues. The database export endpoint failed to reject path separators in the caller-supplied filename. This issue is fixed in version 6.54.1.
Published: 2026-08-04
Score: 5.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in Ghost’s database export endpoint, which accepts an administrator-supplied filename and fails to reject path separators. This path‑traversal flaw allows an admin to specify an arbitrary filesystem path, enabling overwriting of any file on the server. The result is a breach of data integrity and availability, classified as CWE-22, but it does not provide remote code execution.

Affected Systems

TryGhost Ghost installations from version 1.20.1 through 6.54.0 are susceptible. The flaw was fixed in v6.54.1; any system running an earlier version is potentially vulnerable.

Risk and Exploitability

The CVSS base score of 5.5 indicates moderate severity, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires administrator privileges and access to the database export API, so an attacker with an admin account can craft a malicious filename to overwrite critical files. While there is no direct code‑execution vector, the ability to modify files can lead to denial of service, data tampering, or supply‑chain compromise.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Ghost to version 6.54.1 or later
  • If an upgrade cannot be performed immediately, disable the database export endpoint or remove the affected administrator’s privileges
  • Ensure file‑system permissions protect critical directories and audit for unexpected file changes

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

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-cj62-hvv2-2q5h Ghost: Database Backup 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 1.20.1 until 6.54.1, an Administrator-level user could remotely overwrite certain files on the filesystem through the database backup filename, leading to integrity and availability issues. The database export endpoint failed to reject path separators in the caller-supplied filename. This issue is fixed in version 6.54.1.
Title Ghost: Database Backup Path Traversal
Weaknesses CWE-22
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-04T21:41:27.338Z

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

Link: CVE-2026-70592

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')