Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-75827: Improper Control of Generation of Code ('Code Injection') in getgrav grav

0
Critical
VulnerabilityCVE-2026-75827cvecve-2026-75827
Published: 08/18/2026 (08/18/2026, 11:19:40 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
getgrav/grav
pkg:github/getgrav/grav
Affected versions
<2.0.15

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

AILast updated: 08/18/2026, 12:04:35 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses