Summary
CVE-2026-130745 is an incorrect authorization (CWE-863) vulnerability in Grav, the flat-file CMS. It lets anonymous visitors read pages that are meant to be protected. The CVE record rates it 8.2 (High) under CVSS 4.0.
Technical details
- Root cause: The admin and site scopes share a page cache key. When an editor works through the REST API, Grav can cache a page index that drops the
accessrules stored in folders’frontmatter.yamlfiles. - Trigger conditions: Routine editor API activity poisons the cached page index. The advisory lists the API plugin as installed on affected systems. Pages protected through
frontmatter.yamlaccess rules are exposed until the cache is rebuilt, which the advisory says can take up to seven days. - Attack vector: Network. No account, privileges or user interaction are needed. The CVSS vector rates attack complexity as low and records a precondition (AT:P) for the attack.
- Impact: Anonymous users can read protected page content at normal URLs. The vector rates confidentiality impact as high, with no integrity or availability impact.
Affected software
- Grav 2.0.0 through 2.2.17 (with the API plugin installed, per the vendor advisory)
Severity
- CVSS v4.0: 8.2 (High),
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 5.9 (Medium),
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Upgrade Grav to 2.2.18 or later.
- Workarounds if you cannot patch yet:
- Store
accessrules directly in page headers instead offrontmatter.yaml. - Manually clear the cache after API-based edits so the index rebuilds immediately.
- Store

