CVE-2026-130736 Grav 2.0.0 before 2.2.18 RCE via Markdown Image URL Media Actions
- Exploited in the wild
- Not known
- Fix
- 2.2.18
What is CVE-2026-130736?
CVE-2026-130736 is a high-severity vulnerability in getgrav grav, published on 18 Nov 2026.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2026-130736?
How do I fix CVE-2026-130736?
Upgrade getgrav grav to 2.2.18 or later. The advisory says that version fixes it.
Is CVE-2026-130736 being exploited?
There is no known exploitation of CVE-2026-130736 in the wild and no public exploit code.
Sources
Also known as GHSA-2hm5-q8qp-pcc2, GHSA-fhg3-xwwr-cq26.