Original description
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 software
- Rocket.Chat ≥ 8.5.0 < 8.5.1≥ 7.13.0 < 7.13.9≥ 8.0.0 < 8.0.7≥ 8.4.0 < 8.4.4≥ 8.2.0 < 8.2.6≥ 8.3.0 < 8.3.6 Fixed in: 8.5.1, 7.13.9, 8.0.7, 8.4.4 exact match
Details
- Published
- 2026-06-17
- Last modified
- 2026-10-24
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-287
- EPSS (30-day exploit probability)
- 0.72% (percentile 55)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.