CVE-2023-40028
MEDIUM 6.5CVSS 3.1Ghost vulnerable to arbitrary file read via symlinks in content import
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.
- Published
- 15 Aug 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22CWE-59
- Also known as
- BIT-ghost-2023-40028GHSA-9c9v-w225-v5rg
- Sources
- NVDJSONOSV GHSA-9c9v-w225-v5rgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ghost | ghostcpe:2.3:a:ghost:ghost:*:*:*:*:*:node.js:*:* |
< 5.59.1 | 5.59.1 |
| OSV | npm | ghost | < 5.59.1 | 5.59.1 |
References
- https://github.com/TryGhost/Ghost/commit/690fbf3f7302ff3f77159c0795928bdd20f41205 · Patch, WEB
- https://github.com/TryGhost/Ghost/security/advisories/GHSA-9c9v-w225-v5rg · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-40028 · ADVISORY
- https://github.com/TryGhost/Ghost · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 15 Aug 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 15 Aug 2023)