Grav from 2.0.0 before 2.2.18 contains a remote code execution vulnerability that allows publishers to bypass the media action allowlist using scoped method names in Markdown image URLs.
- CVSS
- 8.8High
- Chance of exploitation (EPSS)
- 1.1%
- Published
- Nov 18, 2026
- In the news
- Not yet
What to do
A serious code injection flaw in Getgrav Grav that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 2.2.18
Affected versions
- Getgrav Grav
- 2.0.0 to before 2.2.18
Description
Grav from 2.0.0 before 2.2.18 contains a remote code execution vulnerability that allows publishers to bypass the media action allowlist using scoped method names in Markdown image URLs. Attackers can chain actions like self::addMetaFile into static calls such as Process::fromShellCommandline to read files and run shell commands as the web server user.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-130736 published (CVSS 8.8) (Nov 18, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Nov 18, 2026
- CVECVE-2026-130736 published (CVSS 8.8)CVE Program · 12:17 UTC
References 1
- github.com /getgrav/grav/security/advisories/GHSA-fhg3-xwwr-cq26