---
id: CVE-2026-75827
title: >-
  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
summary: >-
  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 acces…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
published: '2026-08-18'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:32:39.347'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75827'
references:
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-f8wv-xp27-6gq7'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/grav-before-arbitrary-file-write-via-error-log
    label: disclosure@vulncheck.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-f8wv-xp27-6gq7'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75827'
  - url: 'https://github.com/advisories/GHSA-f8wv-xp27-6gq7'
tags:
  - nvd
  - ghsa
  - composer
  - exploit-available
epss: 0.00859
epssPercentile: 0.56721
ingestedAt: '2026-09-08T21:11:12.279Z'
aliases:
  - GHSA-f8wv-xp27-6gq7
ecosystem: composer
vendor: getgrav
product: getgrav/grav
affected:
  - getgrav/grav <= 2.0.14
patched:
  - getgrav/grav 2.0.15
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/abraxas/CVE-2026-75827'
  checkedAt: '2026-09-26T09:05:59.860Z'
exploitAvailable: true
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-75827)

Affected packages:

- `getgrav/grav <= 2.0.14`

Patched in:

- `getgrav/grav 2.0.15`

Source: https://github.com/advisories/GHSA-f8wv-xp27-6gq7
