GitHub Advisory Database
GHSA-qm7r-wwq7-6f85
Statamic has a path traversal in file dictionary fieldtype
Details
Impact
Authenticated Control Panel users could read arbitrary .json, .yaml, and .csv files from the server by manipulating the file dictionary's filename configuration parameter in the fieldtype's endpoint.
Patches
This has been fixed in 5.73.14 and 6.7.0.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | statamic/cms | From 6.0.0-alpha.1 before 6.7.0 (fixed in 6.7.0) |
| Packagist | statamic/cms | All versions before 5.73.14 (fixed in 5.73.14) |