{"id":"CVE-2023-40028","published":"2023-08-15T17:25:16Z","modified":"2024-10-02T17:45:39Z","title":"Arbitrary file read via symlinks in Ghost","vendor":"TryGhost","product":"Ghost","tier":"core","eol":null,"affectedVersions":[{"vendor":"TryGhost","product":"Ghost","versions":["< 5.59.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-02T17:45:27.440128Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is an arbitrary file read vulnerability in the Ghost content management system from TryGhost, affecting versions prior to 5.59.1, where uploaded symlinks are not properly restricted. An attacker who holds an authenticated user account (the attack requires high privileges on the vector and no user interaction) can upload symlink files that cause the server to read any file on the host operating system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:45:24Z"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.65734,"percentile":0.99278,"date":"2026-11-24","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/TryGhost/Ghost/security/advisories/GHSA-9c9v-w225-v5rg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/TryGhost/Ghost/commit/690fbf3f7302ff3f77159c0795928bdd20f41205","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"npm","package":"ghost","vulnerableRanges":["<5.59.1"],"patched":["5.59.1"],"from":["GHSA-9c9v-w225-v5rg"],"provenance":"source"}],"advisories":[{"id":"GHSA-9c9v-w225-v5rg","url":"https://github.com/advisories/GHSA-9c9v-w225-v5rg","severity":"MODERATE","ecosystem":"npm","package":"ghost","vulnerableRanges":["<5.59.1"],"patched":["5.59.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2023-2256","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-2256","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":52409,"url":"https://www.exploit-db.com/exploits/52409","title":"Ghost CMS < 5.59.1 - Arbitrary File Read","type":"webapps","platform":"multiple","date":"2025-08-11","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2025-08-11"},"pocGithub":{"count":8,"skipped":2,"earliest":"2024-03-23","earliestUrl":"https://github.com/0xyassine/CVE-2023-40028","repos":[{"name":"0xyassine/CVE-2023-40028","url":"https://github.com/0xyassine/CVE-2023-40028","stars":15,"created":"2024-03-23"},{"name":"0xDTC/Ghost-5.58-Arbitrary-File-Read-CVE-2023-40028","url":"https://github.com/0xDTC/Ghost-5.58-Arbitrary-File-Read-CVE-2023-40028","stars":13,"created":"2024-12-12"},{"name":"monke443/CVE-2023-40028","url":"https://github.com/monke443/CVE-2023-40028","stars":5,"created":"2024-12-21"},{"name":"rvzsec/CVE-2023-40028","url":"https://github.com/rvzsec/CVE-2023-40028","stars":3,"created":"2024-12-28"},{"name":"godylockz/CVE-2023-40028","url":"https://github.com/godylockz/CVE-2023-40028","stars":2,"created":"2025-01-20"}]},"first":{"date":"2024-03-23","source":"PoC-in-GitHub","url":"https://github.com/0xyassine/CVE-2023-40028"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2023-08-15","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-40028","provenance":"source"},{"date":"2024-03-23","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2025-08-11","url":"https://github.com/0xyassine/CVE-2023-40028","provenance":"source"}],"speed":{"daysToPublicExploit":221,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":28.3,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.86,"detail":"percentile 0.9928"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 8 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":3.43,"detail":"base score 4.9"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2022-41654","published":"2022-12-23","fixed":"5.22.7","kev":false},{"cve":"CVE-2023-32235","published":"2023-05-05","fixed":"5.42.1","kev":false},{"cve":"CVE-2023-31133","published":"2023-05-08","fixed":"5.46.1","kev":false,"link":{"from":"CVE-2023-31133","to":"CVE-2023-40028","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ghost","fromFixed":"5.46.1","toFixed":"5.59.1","daysApart":99}]}},{"cve":"CVE-2023-40028","published":"2023-08-15","fixed":"5.59.1","kev":false},{"cve":"CVE-2024-23725","published":"2024-01-21","fixed":"5.76.0","kev":false,"link":{"from":"CVE-2023-40028","to":"CVE-2024-23725","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ghost","fromFixed":"5.59.1","toFixed":"5.76.0","daysApart":159}]}},{"cve":"CVE-2024-43409","published":"2024-08-20","fixed":"5.89.5","kev":false},{"cve":"CVE-2025-9862","published":"2025-09-17","fixed":"6.0.9","kev":false}],"package":"npm:ghost"}}