Technical impact
The vulnerability in Grav allows a user with publisher permissions to bypass page‑level access controls. By manipulating the FolderStorage key delimiter, a publisher can craft a folder name that collides with an existing protected subtree. When the page is updated via the Flex pages form, the overlapping folder is rewritten, replacing the original protected content and its associated permissions. This bypass of authorization control can lead to unauthorized disclosure and modification of page content, compromising the integrity of the site. The weakness is identified as CWE‑140, a signed‑to‑unsigned integer conversion error that enables the delimiter collision.
Affected Systems
The flaw affects Grav CMS versions 2.0.0 up to 2.2.17 inclusive, all installed on any platform that supports Grav. The affected product is Grav, identified by the CNA vendor getgrav. No specific operating system or component variations are listed beyond the Grav framework itself.
Risk and Exploitability
This issue scores 9.3 on CVSS, indicating a critical risk. Although the EPSS score is not available and the vulnerability is not listed in CISA's KEV catalog, the high severity indicates that exploitation is likely feasible, especially in environments where publishers have broad write access. The attack vector is inferred to be through the publicly accessible Flex pages form, which accepts arbitrary page names and prefixes. An attacker only needs authenticated publisher credentials, no privileged access or administrative rights, to craft the colliding folder name and submit the form, leading to a complete override of the protected subtree.