# CVE-2024-27923: Remote Code Execution by uploading a phar file using frontmatter

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.36%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-06T16:58:33.000Z
- Modified: 2026-06-17T07:20:36.660Z
- Also known as: GHSA-f6g2-h7qv-3m5v
- Weaknesses: CWE-287, CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Grav is a content management system (CMS). Prior to version 1.7.43, users who may write a page may use the `frontmatter` feature due to insufficient permission validation and inadequate file name validation. This may lead to remote code execution. Version 1.7.43 fixes this issue.

(As written by CVE List.)

## Affected

- getgrav grav: < 1.7.43; before 1.7.43
- getgrav/grav (Packagist): before 1.7.43

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-f6g2-h7qv-3m5v> (exploit, vendor-advisory, web)
- <https://github.com/getgrav/grav/commit/e3b0aa0c502aad251c1b79d1ee973dcd93711f07> (patch, web)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2024-27923](https://www.cve.org/CVERecord?id=CVE-2024-27923), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-f6g2-h7qv-3m5v](https://github.com/advisories/GHSA-f6g2-h7qv-3m5v), CC-BY-4.0, modified 2026-02-17
- NVD: [CVE-2024-27923](https://nvd.nist.gov/vuln/detail/CVE-2024-27923), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27923 · Whole record: https://cve.day/CVE-2024-27923.json · Rebuilt by cve.day 2026-11-25T22:58:37.792Z
