CVE-2026-130743

Grav 2.0.0 before 2.2.18 RCE and File Read via Blueprint Files

Published Nov 18, 2026 CVSS 4.0 · 8.7 High EPSS n/a KEV · Not listed
Description
Grav from 2.0.0 before 2.2.18 contains an insecure blueprint trust vulnerability that allows publisher accounts to read secrets and execute PHP by planting or selecting attacker-controlled blueprint files. Attackers can abuse the import@ directive, uploaded YAML media named as the page template, or form.flash_folder to leak password hashes and keys or invoke static PHP methods for code execution.

Analysis

AI-generated

Technical impact

Grav versions 2.0.0 through 2.2.17 contain an insecure trusted‑blueprint vulnerability (CWE-73) that lets authenticated publisher accounts read secret files and execute arbitrary PHP code. An attacker can do this by planting or selecting attacker‑controlled blueprint files, abusing the import@ directive, uploading YAML media named as a page template, or manipulating form.flash_folder. The result is that confidential data such as password hashes and encryption keys can be leaked and an attacker can invoke static PHP methods to run arbitrary code on the server.

Affected Systems

The vulnerability affects all Grav installations using versions 2.0.0 up to, but not including, 2.2.18. Any site running the affected Grav product is potentially vulnerable if it allows publishers to upload or reference custom blueprint files.

Risk and Exploitability

The CVSS score of 8.7 indicates a high‑severity flaw; the EPSS score is not listed, so the current probability of exploitation is unknown, and the vulnerability is not recorded in CISA KEV. Attackers would need publisher‑level access and the ability to place or select blueprint files, so it is an authenticated, application‑level vector rather than a purely remote exploit. If such credentials can be obtained, the impact is complete compromise of confidentiality and integrity, with the potential for full code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Grav to version 2.2.18 or later, the release that contains the fix for the insecure blueprint trust issue (CWE-73).
  • Immediately terminate or remove publish account access that can upload or modify blueprint files if an upgrade cannot be performed right away.
  • If a patch cannot be applied promptly, isolate the site into a hardened environment and monitor for suspicious blueprint file activity, or disable the import@ directive and form.flash_folder functionality to mitigate risk until a proper update is available.

Generated by OpenCVE AI on November 18, 2026 at 19:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Grav from 2.0.0 before 2.2.18 contains an insecure blueprint trust vulnerability that allows publisher accounts to read secrets and execute PHP by planting or selecting attacker-controlled blueprint files. Attackers can abuse the import@ directive, uploaded YAML media named as the page template, or form.flash_folder to leak password hashes and keys or invoke static PHP methods for code execution.
Title Grav 2.0.0 before 2.2.18 RCE and File Read via Blueprint Files
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-73
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 18, 2026, 5:51 PM
Reserved
Nov 17, 2026, 3:40 PM
Status
Deferred
Published
Nov 18, 2026, 12:17 PM
Modified
Nov 18, 2026, 6:19 PM