Description
Grav before 2.0.15 contains an arbitrary file write vulnerability in the Blueprint dynamic-data bare-function validation that uses an incomplete denylist instead of a positive allowlist. Attackers with page-edit or blueprint-config access can invoke the error_log function through a data directive to append PHP payloads to web-accessible files, achieving remote code execution.
Published: 2026-08-18
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Grav CMS suffered an arbitrary file write flaw caused by an incomplete denylist in its Blueprint dynamic data validation. The bug permits attackers to invoke the PHP error_log function through a data directive, allowing malicious developers to append PHP payloads to web‑accessible files. The result is the possibility of full remote code execution on the affected system.

Affected Systems

The vulnerability is present in all Grav releases prior to 2.0.15. Attackers must have page‑edit or blueprint‑config permissions, and any entity with that level of access can trigger the exploit.

Risk and Exploitability

The CVSS score of 9.3 indicates critical severity, and while the EPSS score is not available the risk appears high. Not listed in the CISA KEV catalog, the flaw remains a substantial threat when an attacker can leverage legitimate content editing privileges to inject executable code, giving them persistent remote control of the site.

Generated by OpenCVE AI on August 18, 2026 at 12:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Grav to version 2.0.15 or newer and keep it updated.
  • Restrict page‑edit and blueprint‑config permissions to trusted administrators only.
  • Disallow or sanitize the use of error_log in content fields so that arbitrary code cannot be injected.
  • Regularly monitor file integrity and application logs for unexpected changes.

Generated by OpenCVE AI on August 18, 2026 at 12:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
Description Grav before 2.0.15 contains an arbitrary file write vulnerability in the Blueprint dynamic-data bare-function validation that uses an incomplete denylist instead of a positive allowlist. Attackers with page-edit or blueprint-config access can invoke the error_log function through a data directive to append PHP payloads to web-accessible files, achieving remote code execution.
Title Grav before 2.0.15 Arbitrary File Write via error_log
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-94
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': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-18T11:19:40.317Z

Reserved: 2026-08-18T10:57:39.580Z

Link: CVE-2026-75827

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-18T12:19:32.553

Modified: 2026-08-18T12:19:32.553

Link: CVE-2026-75827

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T12:45:06Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')