CVE-2024-27921

published 21 Mar 2024 · updated 10 Apr 2025

Grav File Upload Path Traversal vulnerability

9.8CriticalCVSS 8.8EPSS 61%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 61%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
getgrav<1.7.45

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-27921 severity on Zeptric[![CVE-2024-27921](https://zeptric.io/badge/cve/CVE-2024-27921.svg)](https://zeptric.io/cve/CVE-2024-27921)