Technical impact
Grav versions 2.0.0 through 2.2.17 contain an insecure trusted‑blueprint vulnerability (CWE-73) that lets authenticated publisher accounts read secret files and execute arbitrary PHP code. An attacker can do this by planting or selecting attacker‑controlled blueprint files, abusing the import@ directive, uploading YAML media named as a page template, or manipulating form.flash_folder. The result is that confidential data such as password hashes and encryption keys can be leaked and an attacker can invoke static PHP methods to run arbitrary code on the server.
Affected Systems
The vulnerability affects all Grav installations using versions 2.0.0 up to, but not including, 2.2.18. Any site running the affected Grav product is potentially vulnerable if it allows publishers to upload or reference custom blueprint files.
Risk and Exploitability
The CVSS score of 8.7 indicates a high‑severity flaw; the EPSS score is not listed, so the current probability of exploitation is unknown, and the vulnerability is not recorded in CISA KEV. Attackers would need publisher‑level access and the ability to place or select blueprint files, so it is an authenticated, application‑level vector rather than a purely remote exploit. If such credentials can be obtained, the impact is complete compromise of confidentiality and integrity, with the potential for full code execution.