{"id":"CVE-2026-114660","summary":"Grav 2.0.0 before 2.2.5 Unauthorized Page Deletion via Flex Form Directives","details":"Grav from 2.0.0 before 2.2.5 contains an improper access control vulnerability in FlexDirectory::dynamicFlexField() that allows page authors to call arbitrary Flex object methods via flex-*@ directives in page frontmatter. When a user with page edit rights opens the page, directives calling setStorageKey() and delete() run in their session, deleting protected pages neither account may delete.","aliases":["GHSA-95jr-q4xh-27vr"],"modified":"2026-10-22T10:45:48.499269074Z","published":"2026-10-22T01:43:44.845Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-470"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114660.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114660.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-95jr-q4xh-27vr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114660"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/grav-2.0.0-before-2.2.5-unauthorized-page-deletion-via-flex-form-directives"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getgrav/grav","events":[{"introduced":"bb4022f44b882ca4615188f4da5a0d646cef02ce"},{"fixed":"3a7ec3e0847717ee1e25a8b3c77e838c89ac12ea"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"2.0.0"},{"fixed":"2.2.5"}],"source":"AFFECTED_FIELD"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114660.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N"}]}