CVE-2026-105645: Ghost ReDoS in external media inliner

CVE-2026-105645 · Severity: medium · CVSS 4.9 · Published 2026-10-05

Ghost is a Node.js content management system that publishes websites and manages content. A crafted request targeting the media inlining feature could cause excessive CPU usage and render the Ghost server unresponsive, but only users with Administrator access can exploit this vulnerability. This results in a temporary denial of service until the server recovers or is restarted.

Technologies: ghost (npm), TryGhost Ghost. Vendors: npm, TryGhost.

Quick answers

Is CVE-2026-105645 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-105645 being exploited in the wild.
How severe is CVE-2026-105645?
Medium severity, with a CVSS score of 4.9, published 5 October 2026.
Which products and versions are affected?
ghost (npm) >= 5.37.0, < 6.67.0, SEMVER:introduced=5.37.0,fixed=6.67.0; TryGhost Ghost 5.37.0 to 6.66.x.
Is there a fix for CVE-2026-105645?
Yes. ghost (npm): upgrade to 6.67.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-105645 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-105645?
Check whether you run ghost (npm) or TryGhost Ghost at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ghost (npm): upgrade to 6.67.0 or later
    npm install ghost@6.67.0

Technical details

A regular expression denial of service (ReDoS) vulnerability exists in Ghost's external media inliner due to improper regex construction from user-controlled input. The vulnerability affects versions 5.37.0 through 6.66.x and is triggered when the baseDir parameter is not properly escaped before being used in a regex pattern. An authenticated administrator can craft a malicious request to trigger catastrophic backtracking, consuming excessive CPU resources.

Affected products

  • TryGhost Ghost 5.37.0 to 6.66.x

Identifiers

  • CVE-2026-105645
  • GHSA-9m4w-fmjw-fvjq

Timeline

  • 2026-10-05: disclosed
  • 2026-09-28: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.