{"id":"CVE-2024-27923","summary":"Remote Code Execution by uploading a phar file using frontmatter","details":"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.","aliases":["GHSA-f6g2-h7qv-3m5v"],"modified":"2026-05-16T11:53:23.574770327Z","published":"2024-03-06T20:28:46.695Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-287","CWE-434"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27923.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27923.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-f6g2-h7qv-3m5v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27923"},{"type":"FIX","url":"https://github.com/getgrav/grav/commit/e3b0aa0c502aad251c1b79d1ee973dcd93711f07"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}