CVE-2026-75827
Received Received - Intake

Grav Arbitrary File Write via Blueprint Validation

Vulnerability report for CVE-2026-75827, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-18

Last updated on: 2026-08-18

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-18
Last Modified
2026-08-18
Generated
2026-08-18
AI Q&A
2026-08-18
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
getgrav grav to 2.0.15 (exc)
grav grav to 2.0.15 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Grav before 2.0.15 has an arbitrary file write vulnerability in the Blueprint dynamic-data bare-function validation. It uses an incomplete denylist instead of a positive allowlist. Attackers with page-edit or blueprint-config access can exploit this by invoking the error_log function through a data directive to append PHP payloads to web-accessible files, achieving remote code execution.

Detection Guidance

Check Grav CMS versions for those below 2.0.15. Inspect web-accessible files for unexpected PHP payloads or recent modifications. Review blueprint configurations for malicious data directives using error_log.

Impact Analysis

An attacker with page-edit privileges can write malicious PHP code to web-accessible files. When these files are accessed, the PHP payload executes, allowing the attacker to run arbitrary commands on the server. This can lead to full system compromise, data theft, or further network infiltration.

Compliance Impact

This vulnerability can lead to unauthorized data access, modification, or exfiltration, violating GDPR's integrity and confidentiality principles and HIPAA's security requirements. Organizations may face fines, legal liabilities, and reputational damage due to non-compliance with these regulations.

Mitigation Strategies

Upgrade Grav CMS to version 2.0.15 or later immediately. Replace the denylist in Blueprint validation with a positive allowlist for bare functions. Restrict page-edit and blueprint-config access to trusted users only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-75827. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart