Skip to content
OpenAdvisories
High · 8.8 CVE-2024-27921 EUVD-2024-0961GHSA-m7hx-hw6h-mqmc

Grav File Upload Path Traversal vulnerability

Published Mar 21, 2024 · Updated Apr 10, 2025 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
getgrav grav < 1.7.45 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist getgrav/grav < 1.7.45 1.7.45 GHSA-m7hx-hw6h-mqmc

References