npm · ghost
Ghost: Database Backup Path Traversal
An Administrator-level user could remotely overwrite certain files on the filesystem leading to integrity and availability issues.
This vulnerability is present in Ghost from 1.20.1 up to v6.54.0.
v6.54.1 contains a fix for this issue.
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.
If upgrading immediately is not possible, set disableJSBackups to "true" by running:
$ ghost config set disableJSBackups true
$ ghost restart
Ghost thanks Jorian Woltjer of Aikido Security, Mitchell Benjamin of Revamp Studio, and meifukun for disclosing this vulnerability responsibly.
If you have any questions or comments about this advisory, email Ghost at security@ghost.org.
Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.
Check my repoSources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.