parse-server
Affected
- introduced
9.0.0, fixed9.5.0-alpha.3(semver)
Fixed versions
9.5.0-alpha.3
Fix
- Fixed version
9.5.0-alpha.3npm install [email protected]
Advisory
Also known as: BIT-parse-2026-30228, CVE-2026-30228
parse-server's file creation and deletion bypasses readOnlyMasterKey write restriction
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
Medium Basis: The source's own band: MODERATE
9.0.0, fixed 9.5.0-alpha.3 (semver)9.5.0-alpha.3
9.5.0-alpha.3npm install [email protected]0, fixed 8.6.5 (semver)8.6.5
8.6.5npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0