Grav 2.0.0 before 2.2.18 RCE and File Read via Blueprint Files
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 18, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 17, 2026
Description
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.flash_folder to leak password hashes and keys or invoke static PHP methods for code execution.
| Product | Versions |
|---|---|
| grav getgrav | 2.0.0 to before 2.2.18 Affected2.2.18 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 8.8 High | VulnCheck |
Weaknesses
- CWE-73 External Control of File Name or Path
References
- GitHub Security Advisory (GHSA-3x2v-6jqq-7gq8)Vendor Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.