CVE-2026-22597: Ghost Ghost Has SSRF Vulnerability
MODERATECVE-2026-22597 is a MODERATE ghost has ssrf vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Ghost libraries in the npm ecosystem. The issue involves ghost has ssrf via external media inliner. Remediation is available by upgrading affected packages to version 6.11.0, 5.130.6.
CVE-2026-22597 at a Glance
How to Fix CVE-2026-22597
To remediate this vulnerability, upgrade all affected Ghost dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install ghost@6.11.0
npm install ghost@5.130.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls ghost
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-22597, inspect your project dependencies using npm:
npm ls ghost
Analyze the terminal output to locate any version of Ghost in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.11.0), your application is affected.
Note: The npm ls ghost command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Ghost, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-22597 Affected Ghost Versions
2 component(s)References
Frequently Asked Questions
What is CVE-2026-22597?
Which Ghost versions are affected?
What version fixes CVE-2026-22597?
Is ghost affected?
What CWE is associated with CVE-2026-22597?
How can I check npm dependencies for CVE-2026-22597?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vmc4-9828-r48r",
"modified" : "2026-01-11T14:55:24Z",
"published" : "2026-01-08T21:36:03Z",
"aliases" : [ "CVE-2026-22597" ],
"summary" : "Ghost has SSRF via External Media Inliner",
"details" : "### Impact\nA vulnerability in Ghost’s media inliner mechanism allows staff users in possession of a valid authentication token for the Ghost Admin API to exfiltrate data from internal systems via SSRF.\n\n### Vulnerable versions\nThis vulnerability is present in Ghost v5.38.0 to v5.130.5 to and Ghost v6.0.0 to v6.10.3.\n\n### Patches\nv5.130.6 and v6.11.0 contain a fix for this issue.\n\n### References\nGhost thanks Sho Odagiri of GMO Cybersecurity by Ierae, Inc. for discovering and disclosing this vulnerability responsibly.\n\n### For more information\nIf there are any questions or comments about this advisory, email Ghost at [security@ghost.org](mailto:security@ghost.org).",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "ghost"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.11.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.10.3"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "ghost"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.105.0"
}, {
"fixed" : "5.130.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.130.5"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/TryGhost/Ghost/security/advisories/GHSA-vmc4-9828-r48r"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22597"
}, {
"type" : "WEB",
"url" : "https://github.com/TryGhost/Ghost/commit/15d49131ff4aac3aca8642501c793f01f2bfcbb9"
}, {
"type" : "WEB",
"url" : "https://github.com/TryGhost/Ghost/commit/93add549ccf079d8e28bdb724fbb71a76942ff51"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/TryGhost/Ghost"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-08T21:36:03Z",
"nvd_published_at" : "2026-01-10T03:15:50Z"
}
}