# Grav: Blueprint dynamic-data bare-function branch is denylist-gated and omits error_log, giving arbitrary file write

Critical severity, published 2026-09-17. Update getgrav/grav to 2.0.15 or later: composer update getgrav/grav.

Canonical URL: https://buzzphp.com/security/ghsa-f8wv-xp27-6gq7 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical (CVSS 8.8) |
| Published | 2026-09-17 |
| Updated | 2026-09-17 |
| CVE | [CVE-2026-75827](https://nvd.nist.gov/vuln/detail/CVE-2026-75827) |
| GHSA | [GHSA-f8wv-xp27-6gq7](https://github.com/advisories/GHSA-f8wv-xp27-6gq7) |
| Weakness | CWE-94 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| getgrav/grav | <= 2.0.14 | 2.0.15 |

## What to do

Update getgrav/grav to 2.0.15 or later: composer update getgrav/grav.

Check which version you run with `composer show getgrav/grav`, and every affected package with `composer audit`.

## About this advisory

Affected versions and vulnerable location

- Confirmed on grav core at 78ebfc1 (tag 2.0.13). - Sinks: - system/src/Grav/Common/Data/Blueprint.php:455-458 calluserfuncarray($o, $params) (bare-function dynamic-data provider). - Twin: system/src/Grav/Framework/Flex/FlexDirectory.php:936-938 calluserfuncarray($function, $params). - Validation gate: Blueprint::isSafeDynamicCall() at Blueprint.php:514-536. - Class::method branch (:514-527) uses a strict positive allowlist self::$allowedDynamicCallables. - Bare-function branch (:530-534) uses only a denylist: if (isstring($function) && Utils::isDangerousFunction($function)) return false; return !self::paramsContainDangerousCallable($params);.

## Links

- [GHSA-f8wv-xp27-6gq7 on GitHub](https://github.com/advisories/GHSA-f8wv-xp27-6gq7)
- [CVE-2026-75827 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-75827)
- [All Composer security advisories](https://buzzphp.com/security)
