Remote Code Execution Vulnerability in Grav CMS by Getgrav
CVE-2026-130736
8.7HIGH
What is CVE-2026-130736?
Grav CMS versions prior to 2.2.18 are susceptible to a remote code execution flaw. This vulnerability enables malicious actors to circumvent the media action allowlist by utilizing scoped method names in Markdown image URLs. Consequently, they can exploit this weakness to invoke chained actions, such as self::addMetaFile, and combine them with static calls like Process::fromShellCommandline, thereby granting unauthorized access to files and execution of shell commands under the privileges of the web server user.
Affected Version(s)
grav 2.0.0 < 2.2.18
grav 2.2.18
