# CVE-2022-27139: Arbitrary file upload in Ghost

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.04%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-12T16:28:58.000Z
- Modified: 2026-09-08T08:47:32.546Z
- Also known as: GHSA-fvc6-qjp7-m4g4, BIT-GHOST-2022-27139
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ghost (npm): up to 4.39.0
- ghost ghost: 4.39.0
- ghost (Bitnami): from 4.39.0 before 4.39.1

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://youtu.be/FCqWEvir2wE> (exploit, advisory, third-party-advisory, web)
- <http://ghost.org/docs/security/#privilege-escalation-attacks> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-27139> (advisory, web)
- <https://github.com/TryGhost/Ghost> (package)

## Sources

- CVE List: [CVE-2022-27139](https://www.cve.org/CVERecord?id=CVE-2022-27139), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-fvc6-qjp7-m4g4](https://github.com/advisories/GHSA-fvc6-qjp7-m4g4), CC-BY-4.0, modified 2023-12-06
- NVD: [CVE-2022-27139](https://nvd.nist.gov/vuln/detail/CVE-2022-27139), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GHOST-2022-27139](https://osv.dev/vulnerability/BIT-GHOST-2022-27139), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-27139 · Whole record: https://cve.day/CVE-2022-27139.json · Rebuilt by cve.day 2026-11-25T22:58:10.577Z
