CVE-2026-130736
Grav 2.0.0 before 2.2.18 RCE via Markdown Image URL Media Actions
High · 8.7Fix available
- CVSS
- 8.7
- EPSS
- 1.15% (p68)
- Published
- 2026-11-18
- Age
- 18d old
- Modified
- 2026-11-18
- Product
- getgrav grav
- Aliases
- GHSA-fhg3-xwwr-cq26
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
Fixed in
2.2.18
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | grav | >=2.0.0, <2.2.18 | 2.2.18 |
Sources
- NVD · first seen 18d ago · NVD terms of use
- OSV · first seen 18d ago · CC-BY 4.0
- CVE List · first seen 18d ago · CVE Terms of Use