cvelo
P2 · HighCVSS 8.8EPSS 1.1%

Grav 2.0.0 before 2.2.18 RCE via Markdown Image URL Media Actions

  • CVE-2026-130736
  • GHSA-2hm5-q8qp-pcc2
  • EUVD-2026-128806

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.

Text from the CVE.org record.

Recommendation

  • getgrav grav

    • If you run a version from 2.0.0 to before 2.2.18update to 2.2.18 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • getgrav grav

    Affected versionsFixed in
    from 2.0.0 to before 2.2.182.2.18

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.