CVE-2026-75827 PUBLISHED

Grav before 2.0.15 Arbitrary File Write via error_log

Assigner: VulnCheck
Reserved: 18.08.2026 Published: 18.08.2026 Updated: 18.08.2026

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.

Metrics

CVSS 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
CVSS Score: 9.3

Product Status

Vendor getgrav
Product grav
Versions Default: unaffected
  • affected from 0 to 2.0.15 (excl.)
  • Version 2.0.15 is unaffected

Credits

  • arpitjain099 reporter

References

Problem Types

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