CVE-2023-40028
JSON

4.9medium

Arbitrary file read via symlinks in Ghost

Severity
4.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
9.96% (higher than 96% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-9c9v-w225-v5rgBIT-GHOST-2023-40028

Description

Ghost is an open source content management system. Versions prior to 5.59.1 are subject to a vulnerability which allows authenticated users to upload files that are symlinks. This can be exploited to perform an arbitrary file read of any file on the host operating system. Site administrators can check for exploitation of this issue by looking for unknown symlinks within Ghost's `content/` folder. Version 5.59.1 contains a fix for this issue. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected

Product or packageVersionsReported by
TryGhost Ghost< 5.59.1CVE List
ghost (npm)before 5.59.1GitHub Advisory Database
ghost ghostbefore 5.59.1NVD
ghost (Bitnami)before 5.59.1Bitnami Vulnerability Database

All scores

GitHub_M4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
GitHub4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-22CWE-59

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Ghost is an open source content management system. Versions prior to 5.59.1 are subject to a vulnerability which allows authenticated users to upload files that are symlinks. This can be exploited to perform an arbitrary file read of any file on the host operating system. Site administrators can check for exploitation of this issue by looking for unknown symlinks within Ghost's `content/` folder. Version 5.59.1 contains a fix for this issue. All users are advised to upgrade. There are no known workarounds for this vulnerability.

GitHub Advisory Database
Impact

A vulnerability in Ghost allows authenticated users to upload files which are symlinks. This can be exploited to perform an arbitrary file read of any file on the operating system.

Site administrators can check for exploitation of this issue by looking for unknown symlinks within Ghost's content/ folder

Vulnerable versions

This security vulnerability is present in Ghost ≤ v5.59.0.

Patches

v5.59.1 contains a fix for this issue.

For more information

If you have any questions or comments about this advisory:

References

Sources

SourceRecordLicence
CVE ListCVE-2023-40028 changed 2024-10-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-9c9v-w225-v5rg changed 2023-12-06CC-BY-4.0
NVDCVE-2023-40028 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GHOST-2023-40028 changed 2026-09-08Apache-2.0