CVE-2026-130736
JSON

8.7high

Grav 2.0.0 before 2.2.18 RCE via Markdown Image URL Media Actions

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
1.15% (higher than 67% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
getgrav gravfrom 2.0.0 before 2.2.18
Not affected: 2.2.18
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-130736 changed 2026-11-18CVE Terms of Use
NVDCVE-2026-130736 changed 2026-11-18Public domain