CVE-2026-105642: CWE-94: Improper Control of Generation of Code ('Code Injection') in TryGhost Ghost
Description
Ghost is a Node.js content management system. From 6.56.0 until 6.67.0, an image processing library bundled with Ghost contained a vulnerability in its SVG handling. Any staff user, including Contributors, could create a bookmark card for an attacker-controlled website, resulting in arbitrary commands being run on the Ghost server. This issue is fixed in version 6.67.0.
CVSS v3.1
Score 8.8high
Affected software
TryGhost
Ghost
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-105642 is a high-severity code injection vulnerability (CWE-94) in the Ghost CMS affecting versions >=6.56.0 and <6.67.0. The issue stems from improper control in the generation of code within an image processing library's SVG handling. Exploitation requires a staff user to create a bookmark card referencing an attacker-controlled website, which then triggers arbitrary command execution on the server. The vulnerability was addressed and fixed in Ghost version 6.67.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary commands on the Ghost server with the privileges of any staff user, including Contributors. This can lead to full compromise of the server, data breach, or service disruption. The CVSS 3.1 score of 8.8 reflects high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade Ghost to version 6.67.0 or later, where this vulnerability is fixed. No other mitigations are specified or recommended. Patch status is confirmed fixed in 6.67.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-05T16:40:39.612Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac3f1292cdf04f6562d91a9
Added to database: 10/05/2026, 18:49:13 UTC
Last enriched: 10/05/2026, 19:06:01 UTC
Last updated: 10/05/2026, 20:48:21 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.