Skip to content
Threat Brief

← All advisories

CVE-2026-130741

High 8.7No known exploitationFix available

Grav 2.0.0 before 2.2.18 Arbitrary File Read via Twig Sandbox Bypass

Record last updated

CVSS score

8.7

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.3%

Higher than 21% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

Description

Grav from 2.0.0 before 2.2.18 contains a Twig sandbox bypass vulnerability that allows publishers to read any server file by abusing allowlisted array_key_value() and page accessor setters such as filePath(). Attackers can repoint page objects or overwrite the assets collections to render private keys and the API signing secret, then forge a super-admin API token.

Weakness: CWE-200

Patching and mitigation

Patch status
Fix available (source: CVE record (VulnCheck))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
getgravgravfrom 2.0.0 before 2.2.182.2.18CVE Program
getgravgrav (unaffected)2.2.18Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by VulnCheck

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (VulnCheck)

    Source: CVE record (VulnCheck) (opens in a new tab)

Vendor guidance and references