{"id":"CVE-2026-53946","aliases":["CVE-2026-53946","GHSA-g366-23fw-ggp6","BIT-GHOST-2026-53946"],"related":[],"kind":"vulnerability","state":"published","title":"Ghost: Mobiledoc image-size fetch SSRF","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nWhen 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.\n\n### Vulnerable versions\n\nThis vulnerability is present in Ghost from v6.19.3 up to v6.21.0.\n\n### Patches\n\nv6.21.1 contains a fix for this issue.\n\n### How to update\n\nFor self-hosters using Docker, find [Docker's official Ghost image here](https://hub.docker.com/_/ghost). Updating a Docker-based Ghost instance [is documented here](https://docs.ghost.org/install/docker#updating-ghost). \n\nIf your Ghost is a Ghost-CLI install see our documentation on [updating it to the latest version here](https://docs.ghost.org/update). \n\n### For more information\n\nIf you have any questions or comments about this advisory, email us at [security@ghost.org](mailto:security@ghost.org).","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-24T18:08:44.602Z","modified":"2026-10-25T22:10:00.150Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":">= 6.19.4, < 6.21.1","status":"affected"}],"vendor":"TryGhost","product":"Ghost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.19.4","status":"affected","fixed":"6.21.2"}],"ecosystem":"npm","package":"ghost","purl":"pkg:npm/ghost","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"6.19.4","status":"affected","fixed":"6.21.1"}],"ecosystem":"Bitnami","package":"ghost","purl":"pkg:bitnami/ghost","source":"bitnami"}],"references":[{"url":"https://github.com/TryGhost/Ghost/security/advisories/GHSA-g366-23fw-ggp6","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53946","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/TryGhost/Ghost/pull/26753","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/TryGhost/Ghost/commit/ba692df7f27162d0440d57487f16c530416a8eb2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/TryGhost/Ghost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/TryGhost/Ghost/releases/tag/v6.21.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-25T19:56:56.852Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53946","url":"https://www.cve.org/CVERecord?id=CVE-2026-53946","licence":"CVE Terms of Use","modified":"2026-06-25T19:57:03.997Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g366-23fw-ggp6","url":"https://github.com/advisories/GHSA-g366-23fw-ggp6","licence":"CC-BY-4.0","modified":"2026-08-04T21:30:19.852Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53946","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53946","licence":"Public domain","modified":"2026-10-25T22:10:00.150Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GHOST-2026-53946","url":"https://osv.dev/vulnerability/BIT-GHOST-2026-53946","licence":"Apache-2.0","modified":"2026-07-08T08:11:33.394Z"}],"updatedAt":"2026-11-25T22:59:25.727Z","epss":{"score":0.00129,"percentile":0.02748,"date":"2026-12-01T12:00:22.000Z"}}