← Vulnerability feed

Vulnerability record · CVE-2022-27139 · published 12 April 2022

CVE-2022-27139: Ghost unrestricted file upload vulnerability

Ghost · Ghost

An arbitrary file upload vulnerability in the file upload module of Ghost v4.39.0 allows attackers to execute arbitrary code via a crafted SVG file. NOTE: Vendor states that as outlined in Ghost's security documentation, upload of SVGs is only possible by trusted authenticated users. The uploading of SVG files to Ghost does not represent a remote code execution vulnerability. SVGs are not executable on the server, and may only execute javascript in a client's browser - this is expected and intentional functionality

9.8 CVSS 3.1 Critical EPSS 4.0% · top 9.7% CWE-434 · Unrestricted file upload
9.8CVSS 3.1 base score, v2 7.5
4.0%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

An arbitrary file upload vulnerability in the file upload module of Ghost v4.39.0 allows attackers to execute arbitrary code via a crafted SVG file. NOTE: Vendor states that as outlined in Ghost's security documentation, upload of SVGs is only possible by trusted authenticated users. The uploading of SVG files to Ghost does not represent a remote code execution vulnerability. SVGs are not executable on the server, and may only execute javascript in a client's browser - this is expected and intentional functionality

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-27139 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-29053Ghost injection vulnerabilityGhost is a Node.js content management system. From version 0.7.2 to 6.19.0, specifically crafted malicious themes can execute arbitrary code on the s…EPSS 4.8%9.8CVE-2022-28397Ghost unrestricted file upload vulnerabilityAn arbitrary file upload vulnerability in the file upload module of Ghost CMS v4.42.0 allows attackers to execute arbitrary code via a crafted file. …EPSS 3.5%9.1CVE-2024-34451Ghost vulnerabilityGhost through 5.85.1 allows remote attackers to bypass an authentication rate-limit protection mechanism by using many X-Forwarded-For headers with d…EPSS 0.77%9.0CVE-2024-23724Ghost cross-site scripting vulnerabilityGhost through 5.76.0 allows stored XSS, and resultant privilege escalation in which a contributor can take over any account, via an SVG profile pictu…EPSS 3.5%8.8CVE-2026-29784Ghost cross-site request forgery vulnerabilityGhost is a Node.js content management system. From version 5.101.6 to 6.19.2, incomplete CSRF protections around /session/verify made it possible to …EPSS 0.19%8.8CVE-2024-34448Ghost injection vulnerabilityGhost before 5.82.0 allows CSV Injection during a member CSV export.EPSS 0.73%8.1CVE-2026-22594Ghost improper authentication vulnerabilityGhost is a Node.js content management system. In versions 5.105.0 through 5.130.5 and 6.0.0 through 6.10.3, a vulnerability in Ghost's 2FA mechanism …EPSS 1.3%8.1CVE-2026-22595Ghost incorrect authorization vulnerabilityGhost is a Node.js content management system. In versions 5.121.0 through 5.130.5 and 6.0.0 through 6.10.3, a vulnerability in Ghost's handling of St…EPSS 0.55%

Source: NIST National Vulnerability Database (record CVE-2022-27139), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.