{"id":"CVE-2024-27921","published":"2024-03-21T21:38:29Z","modified":"2025-04-10T20:14:03Z","title":"Grav File Upload Path Traversal vulnerability","vendor":"getgrav","product":"grav","tier":"core","eol":null,"affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 1.7.45"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-03-25T16:27:48.963483Z","from":"CISA ADP","provenance":"source"},"description":{"text":"Grav is an open-source, flat-file content management system. A file upload path traversal vulnerability has been identified in the application prior to version 1.7.45, enabling attackers to replace or create files with extensions like .json, .zip, .css, .gif, etc. This critical security flaw poses severe risks, that can allow attackers to inject arbitrary code on the server, undermine integrity of backup files by overwriting existing files or creating new ones, and exfiltrate sensitive data using CSS exfiltration techniques. Upgrading to patched version 1.7.45 can mitigate the issue.","provenance":"source","from":"CVE.org"},"summary":{"text":"A path traversal flaw in the file upload functionality of Grav, an open-source flat-file content management system, allows files to be written outside their intended directory. An attacker with low-privilege authenticated access over the network, and no user interaction required, can replace or create files with extensions such as .json, .zip, .css and .gif, which can be used to inject code, tamper with backups, or exfiltrate data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:45:38Z"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.60848,"percentile":0.99171,"date":"2026-11-20","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/getgrav/grav/security/advisories/GHSA-m7hx-hw6h-mqmc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav/commit/5928411b86bab05afca2b33db4e7386a44858e99","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<1.7.45"],"patched":["1.7.45"],"from":["GHSA-m7hx-hw6h-mqmc"],"provenance":"source"}],"advisories":[{"id":"GHSA-m7hx-hw6h-mqmc","url":"https://github.com/advisories/GHSA-m7hx-hw6h-mqmc","severity":"HIGH","ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<1.7.45"],"patched":["1.7.45"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-0961","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0961","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2024-03-21","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2024-27921","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":26.0,"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.83,"detail":"percentile 0.9917"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.16,"detail":"base score 8.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}