Sceawere

Vulnerability Detail

CVE-2026-75827UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

Grav Arbitrary File Write RCE

Vulnerability Metadata

Severity
High
Score / CVSS
8.8
Creation Date
3h ago
Vendor
getgrav
Product
grav
Attack Type
Improper Control of Generation of Code ('Code Injection')
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Complexity
LOW

Narrative and Response

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.

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "8.8",
  "pubDate": "2026-08-18T12:19:32.553Z",
  "pubdate": "2026-08-18T12:19:32.553Z",
  "executiveSummary": "Grav before 2.0.15 is susceptible to an arbitrary file write vulnerability that leads to remote code execution. The security flaw resides in the Blueprint dynamic-data bare-function validation mechanism, which improperly relies on an incomplete denylist strategy rather than a strict positive allowlist. This architectural weakness allows malicious actors to leverage data directives to invoke the error_log function. Consequently, attackers can append arbitrary PHP code payloads directly into web-accessible files within the application directory.\nExploitation of this vulnerability requires specific attacker capabilities, namely page-edit or blueprint-config access within the Grav content management system. Successful execution permits authenticated users with low-to-moderate privileges to escalate their access to full remote code execution on the underlying server. Given the nature of arbitrary file writes in web application roots, the overall risk implication is critical, potentially compromising the complete confidentiality, integrity, and availability of the affected system.",
  "technicalDetails": "The vulnerability is fundamentally rooted in the Blueprint dynamic-data bare-function validation component of Grav before 2.0.15. During the processing of dynamic data configurations, the validation engine attempts to restrict dangerous function calls. However, it implements an incomplete denylist instead of a rigorous positive allowlist. This design flaw permits the invocation of sensitive PHP functions that should be strictly prohibited during data validation and sanitization phases.\nThe attack flow begins when an adversary with page-edit or blueprint-config access crafts a malicious request containing a crafted data directive. By targeting the error_log function or similar mechanisms exposed through the vulnerable bare-function validation, the attacker can manipulate internal logging or file-writing routines. Because the input validation fails to block this specific vector, the application processes the directive and writes the supplied data to target files.\nThe payload behavior involves appending arbitrary PHP code strings into web-accessible files, such as PHP scripts or templates located within the web root. Once the malicious payload is successfully written to a web-accessible location, the attacker can execute system commands or application-level logic by issuing HTTP requests directly to the modified file. This post-exploitation impact results in full remote code execution under the privileges of the web server process.\nPrerequisites for this attack include network exposure to the Grav administration or editing interfaces, along with valid authentication credentials granting page-edit or blueprint-config privileges. The affected component is constrained to versions of Grav prior to 2.0.15, where the incomplete denylist logic in the Blueprint dynamic-data validation is present."
}
CVE-2026-75827: Grav Arbitrary File Write RCE (HIGH Severity, CVSS: 8.8) - Sceawere