CVE-2023-40028
Arbitrary file read via symlinks in Ghost
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
4.9
Arbitrary file read via symlinks in Ghost
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.
- Record
CVE-2023-40028- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
EUVDEUVD-2023-2256
4.9
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.
- Record
EUVD-2023-2256- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9c9v-w225-v5rg
4.9
Ghost vulnerable to arbitrary file read via symlinks in content import
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:
- Email us at [email protected]
- Record
GHSA-9c9v-w225-v5rg- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22, CWE-59
- Updated
- 2026-11-02
NVD
4.9
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.
- Record
CVE-2023-40028- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22, CWE-59
- Updated
- 2026-11-02
OSV
4.9
Arbitrary file read via symlinks in Ghost
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.
- Record
CVE-2023-40028- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVGHSA-9c9v-w225-v5rg
4.9
Ghost vulnerable to arbitrary file read via symlinks in content import
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:
- Email us at [email protected]
- Record
GHSA-9c9v-w225-v5rg- CVSS 3.1
- 4.9 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22, CWE-59
- Updated
- 2026-11-02
OSVBIT-ghost-2023-40028 No score
Arbitrary file read via symlinks in Ghost
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.
- Record
BIT-ghost-2023-40028- Updated
- 2026-11-02
Affected products
Affected packages
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Ghost CMS 5.59.1 - Arbitrary File Read | 2025-08-11 |
| PoC in GitHub | 0xDTC/Ghost-5.58-Arbitrary-File-Read-CVE-2023-40028 | 2024-12-12 |
| PoC in GitHub | 0xyassine/CVE-2023-40028 | 2024-03-23 |
| PoC in GitHub | Stp1t/CVE-2023-40028 | 2026-01-22 |
| PoC in GitHub | buutt3rf1y/CVE-2023-40028 | 2025-04-14 |
| PoC in GitHub | godylockz/CVE-2023-40028 | 2025-01-20 |
| PoC in GitHub | monke443/CVE-2023-40028 | 2024-12-21 |
| PoC in GitHub | rehan6658/CVE-2023-40028 | 2025-02-02 |
| PoC in GitHub | rvzsec/CVE-2023-40028 | 2024-12-28 |
| PoC in GitHub | sudlit/CVE-2023-40028 | 2024-12-13 |
| PoC in GitHub | syogod/CVE-2023-40028 | 2025-03-07 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-40028 is a medium vulnerability (CVSS 4.9) in Ghost, published August 15, 2023. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 69.0%, the 99th percentile. Fixed in ghost 5.59.1.
References
github.com/TryGhost/Ghost/security/advisories/GHSA-9c9v-w225-v5rg
github.com/TryGhost/Ghost/commit/690fbf3f7302ff3f77159c0795928bdd20f41205
nvd.nist.gov/vuln/detail/CVE-2023-40028
github.com/advisories/GHSA-9c9v-w225-v5rg
github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40028.json
github.com/TryGhost/Ghost