CVE-2026-130736 Details
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.
A remote code execution vulnerability exists in Grav versions 2.0.0 prior to 2.2.18. This issue allows publishers to bypass the media action allowlist by using scoped method names in Markdown image URLs. Exploitation involves chaining actions like 'self::addMetaFile' with static calls such as 'Process::fromShellCommandline', enabling the execution of shell commands and reading files as the web server user. On Grav 1.7, publishers can always execute code through Markdown image URLs.
Users can update to Grav version 2.2.18, where this vulnerability has been fixed. For those using Grav 1.7, it is recommended to disable the 'process_markdown' option in the Email plugin to prevent anonymous exploitation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 18, 2026CISA-ADP
Assessed Nov 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-fhg3-xwwr-cq26 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grav | >= 2.0.0, <= 2.2.17 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 18, 2026 | CVE Modified | CISA-ADP |
| Nov 18, 2026 | New CVE Received | [email protected] |
Volerion