Summary
Grav, from version 2.0.0 before 2.2.18, contains an authorization bypass vulnerability that lets users with the publisher role overwrite pages that their per-page permissions deny. The CVSS 4.0 score is 9.3 (critical).
What happened
The vulnerability (CVE-2026-130733, CWE-140) stems from key delimiter collisions in FolderStorage and folder reconstruction in PageStorage. According to the description, an attacker can use a front-end Flex pages form to rename a folder with a particular pattern or save from a page with an unusual prefix width. This lets them replace protected content and the permissions that govern access to the protected subtree.
Why it matters
The bypass allows a publisher to modify pages that per-page permissions deny, replacing protected content and its access permissions. CNA VulnCheck assigns a CVSS 4.0 score of 9.3 (critical), with vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N. CISA's KEV catalog does not list this vulnerability as actively exploited. The source does not state further details about exploitation.
Affected products and versions
Grav (getgrav): versions >= 2.0.0 and < 2.2.18 are affected. Version 2.2.18 is listed as unaffected.
| Product | Versions | Fixed in |
|---|---|---|
| getgrav grav | >= 2.0.0, < 2.2.18 | — |
| getgrav grav | 2.2.18 | 2.2.18 |
Action recommended by the source
The source lists 2.2.18 as the unaffected version, that is, the one containing the fix. The vendor advisory is available at https://github.com/getgrav/grav/security/advisories/GHSA-3rxf-jpgc-hwpv. The source does not state other mitigations.
Fixed in: 2.2.18
Sources and references
Weaknesses (CWE): CWE-140
Relevant change history
Published
Advisory published.