CVE-2026-75827: Improper Control of Generation of Code ('Code Injection') in getgrav grav
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.
AI Analysis
Technical Summary
CVE-2026-75827 describes a critical code injection vulnerability in Grav CMS prior to version 2.0.15. The vulnerability arises from the use of an incomplete denylist rather than a positive allowlist in the Blueprint dynamic-data bare-function validation. This enables attackers who have page-edit or blueprint-config privileges to invoke the PHP error_log function through crafted data directives, resulting in arbitrary file writes to web-accessible locations and potential remote code execution.
Potential Impact
Successful exploitation allows remote code execution by appending malicious PHP code to files accessible via the web, compromising the affected system. The vulnerability requires the attacker to have page-edit or blueprint-config access, which may limit the attack surface but still represents a critical risk if such access is obtained.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict page-edit and blueprint-config access to trusted users only and monitor for suspicious activity involving file writes or error_log usage.
CVE-2026-75827: Improper Control of Generation of Code ('Code Injection') in getgrav grav
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 v4.0
Score 9.3critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-75827 describes a critical code injection vulnerability in Grav CMS prior to version 2.0.15. The vulnerability arises from the use of an incomplete denylist rather than a positive allowlist in the Blueprint dynamic-data bare-function validation. This enables attackers who have page-edit or blueprint-config privileges to invoke the PHP error_log function through crafted data directives, resulting in arbitrary file writes to web-accessible locations and potential remote code execution.
Potential Impact
Successful exploitation allows remote code execution by appending malicious PHP code to files accessible via the web, compromising the affected system. The vulnerability requires the attacker to have page-edit or blueprint-config access, which may limit the attack surface but still represents a critical risk if such access is obtained.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict page-edit and blueprint-config access to trusted users only and monitor for suspicious activity involving file writes or error_log usage.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-18T10:57:39.580Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a844366c6e8be03322294e6
Added to database: 08/18/2026, 11:35:02 UTC
Last enriched: 08/18/2026, 12:04:35 UTC
Last updated: 08/19/2026, 00:44:37 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.