Skip to content

CVE-2026-130736 Grav 2.0.0 before 2.2.18 RCE via Markdown Image URL Media Actions

HighCVSS 8.7 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
getgrav/grav >= 2.0.0, < 2.2.18 2.2.18 Fixed

Affected products

ProductAffected versionsFixed in
getgrav/grav >= 2.0.0, < 2.2.18 2.2.18

References