CVE-2026-53946: Ghost: Mobiledoc image-size fetch SSRF
When re-rendering posts, Ghost would refetch missing image dimensions by issuing an outbound HTTP request to the URL stored on an image card — without restricting that URL to trusted image hosts. An authenticated staff user able to create or edit posts could therefore point an image card at an attacker-chosen host and cause the Ghost server to request it on their behalf, including hosts on internal networks or cloud instance metadata endpoints that would not normally be reachable from the public internet.
References
- github.com/TryGhost/Ghost/commit/ba692df7f27162d0440d57487f16c530416a8eb2
- github.com/TryGhost/Ghost/pull/26753
- github.com/TryGhost/Ghost/releases/tag/v6.21.1
- github.com/TryGhost/Ghost/security/advisories/GHSA-g366-23fw-ggp6
- github.com/advisories/GHSA-g366-23fw-ggp6
- nvd.nist.gov/vuln/detail/CVE-2026-53946
Code Behaviors & Features
Detect and mitigate CVE-2026-53946 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →