CVE-2026-130743: Grav 2.0.0 before 2.2.18 RCE and File Read via Blueprint Files
Grav from 2.0.0 before 2.2.18 contains an insecure blueprint trust vulnerability that allows publisher accounts to read secrets and execute PHP by planting or selecting attacker-controlled blueprint files. Attackers can abuse the import@ directive, uploaded YAML media named as the page template, or form.flashfolder to leak password hashes and keys or invoke static PHP methods for code execution.
Affected Software
Event History
Frequently Asked Questions
Which accounts can exploit this issue?
Publisher accounts can exploit it. The attack does not require user interaction and can be performed remotely.
What capabilities does exploitation provide?
An attacker can read secrets such as password hashes and keys, and can execute PHP by invoking static PHP methods. This can result in complete compromise of confidentiality, integrity, and availability.
Are installations using uploaded page-template YAML files at risk?
Yes. An attacker can use uploaded YAML media named as a page template as an attacker-controlled blueprint source. The import@ directive and form.flash_folder are also identified attack paths.
What versions need remediation?
Grav versions from 2.0.0 before 2.2.18 are affected. Update to 2.2.18 or later.