5.4medium
Ghost: Mobiledoc image-size fetch SSRF
- Severity
- 5.4medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-g366-23fw-ggp6BIT-GHOST-2026-53946
Description
Ghost is a Node.js content management system. From 6.19.4 until 6.21.1, 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. This vulnerability is fixed in 6.21.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| TryGhost Ghost | >= 6.19.4, < 6.21.1 | CVE List |
| ghost (npm) | from 6.19.4 before 6.21.2 | GitHub Advisory Database |
| ghost (Bitnami) | from 6.19.4 before 6.21.1 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Ghost is a Node.js content management system. From 6.19.4 until 6.21.1, 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. This vulnerability is fixed in 6.21.1.
GitHub Advisory Database
Impact
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.
Vulnerable versions
This vulnerability is present in Ghost from v6.19.3 up to v6.21.0.
Patches
v6.21.1 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.
For more information
If you have any questions or comments about this advisory, email us at security@ghost.org.
NVD (es)
Ghost es un sistema de gestión de contenido Node.js. Desde la versión 6.19.4 hasta la 6.21.1, al volver a renderizar publicaciones, Ghost volvería a buscar las dimensiones de imagen faltantes emitiendo una solicitud HTTP saliente a la URL almacenada en una tarjeta de imagen - sin restringir esa URL a hosts de imágenes de confianza. Un usuario de personal autenticado capaz de crear o editar publicaciones podría, por lo tanto, apuntar una tarjeta de imagen a un host elegido por el atacante y hacer que el servidor de Ghost lo solicite en su nombre, incluyendo hosts en redes internas o puntos finales de metadatos de instancias en la nube que normalmente no serían accesibles desde la internet pública. Esta vulnerabilidad está corregida en la versión 6.21.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53946 changed 2026-06-25 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g366-23fw-ggp6 changed 2026-08-04 | CC-BY-4.0 |
| NVD | CVE-2026-53946 changed 2026-10-25 | Public domain |
| Bitnami Vulnerability Database | BIT-GHOST-2026-53946 changed 2026-07-08 | Apache-2.0 |