CVE-2024-27921
CVE-2024-27921 is a high-severity vulnerability in Getgrav Grav with a CVSS 3.x base score of 8.8. Its EPSS exploit-prediction score of 61% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-22.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 61% (99th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0961
- Weakness: CWE-22
- Affected product: Getgrav Grav
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-27921?
- 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.
- How severe is CVE-2024-27921?
- CVE-2024-27921 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-27921 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 61% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-27921?
- CVE-2024-27921 affects Getgrav Grav. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-27921?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-27921 have an EU (EUVD) identifier?
- Yes. CVE-2024-27921 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0961.
- When was CVE-2024-27921 published?
- CVE-2024-27921 was published on 2024-03-21 and last updated on 2026-06-17.
References
- https://github.com/getgrav/grav/commit/5928411b86bab05afca2b33db4e7386a44858e99
- https://github.com/getgrav/grav/security/advisories/GHSA-m7hx-hw6h-mqmc
Affected products (1)
- cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
More vulnerabilities in Getgrav Grav
- CVE-2023-34251 — Critical (CVSS 9.9): Grav is a flat-file content management system. Versions prior to 1.7.42 are vulnerable to server side template…
- CVE-2021-47812 — Critical (CVSS 9.8): GravCMS 1.10.7 contains an unauthenticated vulnerability that allows remote attackers to write arbitrary YAML…
- CVE-2025-46199 — Critical (CVSS 9.8): Cross Site Scripting vulnerability in grav v.1.7.48 and before allows an attacker to execute arbitrary code via a…
- CVE-2025-66301 — Critical (CVSS 9.6): Grav is a file-based Web platform. Prior to 1.8.0-beta.27, due to improper authorization checks when modifying critical…
- CVE-2026-42608 — Critical (CVSS 9.1): Grav is a file-based Web platform. Prior to 2.0.0-beta.2, there is a Path Traversal vulnerability within the FormFlash…
- CVE-2025-66844 — Critical (CVSS 9.1): In grav <1.7.49.5, a SSRF (Server-Side Request Forgery) vector may be triggered via Twig templates when page content is…
All CVEs affecting Getgrav Grav →
Other CWE-22 (Path Traversal) vulnerabilities
- CVE-2026-48282 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Limitation of a Pathname to a Restricted…
- CVE-2026-54917 — Critical (CVSS 10.0): SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables. Prior to 4.30, the…
- CVE-2026-11429 — Critical (CVSS 10.0): Two endpoints in the Vault Service ScriptsController, shared by Altium Enterprise Server and Altium 365, accept file…
- CVE-2026-34909 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit a Path Traversal vulnerability found in UniFi OS devices to…
- CVE-2026-7411 — Critical (CVSS 10.0): In Eclipse BaSyx Java Server SDK versions prior to 2.0.0-milestone-10, inadequate path normalization in the Submodel…
- CVE-2026-36767 — Critical (CVSS 10.0): A path traversal vulnerability in the /content/images/add endpoint of shopizer v3.2.5 allows attackers write arbitrary…