CVE-2026-130736: Grav 2.0.0 before 2.2.18 RCE via Markdown Image URL Media Actions
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 Software
Event History
Frequently Asked Questions
Who can exploit this vulnerability?
An attacker needs publisher-level access, because the vulnerable behavior is triggered through Markdown image URLs created by publishers. Exploitation does not require user interaction and can be performed remotely.
What level of access can an attacker gain?
Successful exploitation can allow reading files and executing shell commands as the web server user. The reported impact includes high confidentiality, integrity, and availability impact.
Which Grav versions are affected?
Grav versions from 2.0.0 before 2.2.18 are affected. Updating to 2.2.18 or later addresses the affected version range.