MEDIUM4.3
GHSA-qm7r-wwq7-6f85
Statamic has a path traversal in file dictionary fieldtype
Quick fix
GHSA-qm7r-wwq7-6f85 — statamic/cms: upgrade to the fixed version with the command below.
composer require statamic/cms:^6.7.0Details
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/statamic/cms
Introduced in:
6.0.0-alpha.1Fixed in: 6.7.0Fix
composer require statamic/cms:^6.7.0References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/statamic/cms"]}'