CVE-2026-105683: Ghost: Path Traversal Vulnerability in Ghost ImageSize Service
Impact
An input validation issue may have allowed staff users to access local files outside the intended data storage directories on the server.
Vulnerable versions
This vulnerability is present in Ghost from v6.14.0 up to v6.27.0.
Patches
v6.27.0 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 l3tchupkt and krn0@bugcrowdninja.com for disclosing this vulnerability responsibly.
For more information
If you have any questions or comments about this advisory, email us at security@ghost.org.
Other sources
Ghost is a Node.js content management system. From 6.14.0 until 6.27.0, an input validation issue may have allowed staff users to access local files outside the intended data storage directories on the server. This issue is fixed in version 6.27.0.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/ghostto a version that resolves this vulnerability.Fixed in 6.27.0 - Upgrade
Upgrade
Ghostto a version that resolves this vulnerability.Fixed in 6.27.0
Event History
Frequently Asked Questions
Which deployments are affected?
Ghost deployments running versions from 6.14.0 up to, but not including, 6.27.0 are affected. Version 6.27.0 fixes the issue.
What level of access does an attacker need?
An attacker needs staff-user access to the Ghost instance. The issue may allow such a user to access local files outside the intended server data storage directories.
What should be done if the instance is vulnerable?
Upgrade Ghost to version 6.27.0. The provided information does not identify a separate workaround for deployments that cannot be upgraded immediately.