Rocket.Chat
Rocket.Chat in versions <8.5.1, <8.4.4, <8.3.6, <8.2.6, <8.1.6, <8.0.7, <7.13.9, and <7.10.13 is vulnerable to unauthenticated file deletion. The deleteFileMessage Meteor method permanently deletes any uploaded file by ID without requiring authentication. When called via an unauthenticated DDP WebSocket connection, Meteor.userId() returns null, causing the authorization check to be skipped. Execution falls through to FileUpload.getStore('Uploads').deleteById(fileID), which removes the file from storage and database unconditionally. File IDs are discoverable from public channel message payloads and download URLs.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 8.5.1
- < 8.4.4
- < 8.3.6
- < 8.2.6
- < 8.1.6
- < 8.0.7
- < 7.13.9
- < 7.10.13
Fixed in 8.5.1, 8.4.4, 8.3.6, 8.2.6, 8.1.6, 8.0.7, 7.13.9, 7.10.13
Mitigation
Upgrade Rocket.Chat to 8.5.1 or 8.4.4 or 8.3.6 or 8.2.6 or 8.1.6 or 8.0.7 or 7.13.9 or 7.10.13 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.