# GHSA-MH96-26MX-HF3G: Data Manager allows unauthenticated deletion of stored data files

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-09-23
- Modified: 2026-09-23

## Affected versions

- getgrav/grav-plugin-data-manager (Packagist): from 1.4.0, fixed in 1.4.6

## Description

## Summary

The classic Admin integration in Data Manager can process a file-deletion request without requiring an authenticated or authorized administrator. The handler also accepts the state-changing request without a CSRF nonce.

## Affected versions

Data Manager 1.4.0 through 1.4.5 are affected on the classic Admin path.

## Details

Data Manager registers its `onPagesInitialized` handler on Admin routes. Classic Admin first selects its login controller for an unauthenticated request, but its HTTP 418 display response is intentionally non-terminal so rendering can continue. Data Manager then checks the original request URI and, when `?delete` is present, constructs a file beneath `user/data/` and deletes it. The handler does not check `admin.data-manager` or `admin.super`, and it does not verify an Admin nonce.

## Impact

An unauthenticated requester who knows a data type and filename can delete the corresponding stored data file, including form submission data. A forged request can also trigger deletion in an authenticated administrator's session. This crosses the anonymous-to-privileged trust boundary and affects data integrity and availability.

## Patches

Upgrade to Data Manager 1.4.6 when it is released. The fix requires an authenticated authorized administrator and a valid Admin nonce before deletion.

## Credits

Reported by @AlpetGexha.

## References

- https://github.com/getgrav/grav/security/advisories/GHSA-mh96-26mx-hf3g

Page: https://cve.now/GHSA-MH96-26MX-HF3G

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
