CVE-2026-22597: Ghost Ghost Has SSRF Vulnerability

MODERATE
Advisory Identifier: GHSA-vmc4-9828-r48r
CWE-918
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-22597
GHSA Identifier GHSA-vmc4-9828-r48r
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Ghost
Package Ecosystem npm
Published Date
Last Updated

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.

ghost fixed: 6.11.0
npm install ghost@6.11.0
ghost fixed: 5.130.6
npm install ghost@5.130.6
Verify Direct and Transitive Dependencies

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

### Impact A 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. ### Vulnerable versions This vulnerability is present in Ghost v5.38.0 to v5.130.5 to and Ghost v6.0.0 to v6.10.3. ### Patches v5.130.6 and v6.11.0 contain a fix for this issue. ### References Ghost thanks Sho Odagiri of GMO Cybersecurity by Ierae, Inc. for discovering and disclosing this vulnerability responsibly. ### For more information If there are any questions or comments about this advisory, email Ghost at [security@ghost.org](mailto:security@ghost.org).

CVE-2026-22597 Affected Ghost Versions

2 component(s)
Fixed Versions:
6.11.05.130.6
Product / Package Ecosystem Affected Versions Fixed Version
ghost
npm
≥ 6.0.0
< 6.11.0
6.11.0
ghost
npm
≥ 5.105.0
< 5.130.6
5.130.6

References

Frequently Asked Questions

What is CVE-2026-22597?
CVE-2026-22597 is a security vulnerability in Ghost involving Ghost has SSRF via External Media Inliner under CWE-918: Server-Side Request Forgery (SSRF).
Which Ghost versions are affected?
Affected versions include releases prior to 6.11.0, 5.130.6 across affected packages: ghost.
What version fixes CVE-2026-22597?
Upgrading to 6.11.0, 5.130.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ghost affected?
Yes, ghost is affected in releases prior to 6.11.0, 5.130.6. Upgrade your dependency to 6.11.0, 5.130.6 or later.
What CWE is associated with CVE-2026-22597?
CVE-2026-22597 is classified under CWE-918: Server-Side Request Forgery (SSRF) (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.).
How can I check npm dependencies for CVE-2026-22597?
Run the dependency tree command: 'npm ls ghost'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}