GHSA-xfh7-phr7-gr2x
parse-server's file creation and deletion bypasses `readOnlyMasterKey` write restriction
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-30228
- Alias
- BIT-parse-2026-30228
- CVSS_V4
- CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Description
### Impact The `readOnlyMasterKey` can be used to create and delete files via the Files API (`POST /files/:filename`, `DELETE /files/:filename`). This bypasses the read-only restriction which violates the access scope of the `readOnlyMasterKey`. Any Parse Server deployment that uses `readOnlyMasterKey` and exposes the Files API is affected. An attacker with access to the `readOnlyMasterKey` can upload arbitrary files or delete existing files. ### Patches The fix adds permission checks to both the file upload and file delete handlers. ### Workarounds There is no workaround other than not using `readOnlyMasterKey`, or restricting network access to the Files API endpoints. ### References - GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-xfh7-phr7-gr2x - Fix for Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.5.0-alpha.3 - Fix for Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.5
Paquets affectés
| Paquet | Versions |
|---|---|
| npm · parse-server | introduced 9.0.0, fixed 9.5.0-alpha.3 |
| npm · parse-server | introduced 0, fixed 8.6.5 |
Références
- https://github.com/parse-community/parse-server/security/advisories/GHSA-xfh7-phr7-gr2x WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-30228 ADVISORY
- https://github.com/parse-community/parse-server PACKAGE
- https://github.com/parse-community/parse-server/releases/tag/8.6.5 WEB
- https://github.com/parse-community/parse-server/releases/tag/9.5.0-alpha.3 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |