CVE-2026-45687

Rocket.Chat: Authenticated Arbitrary Data Export Theft via Mass Assignment in sendFileMessage

State
Published
Severity
8.5 High
Published
Jun 24, 2026
Updated
Jun 26, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

Rocket.Chat is an open-source, secure, fully customizable communications platform. Prior to 8.5.0, 8.4.1, 8.3.3, 8.2.3, 8.1.4, 8.0.5, 7.13.7, and 7.10.11, Rocket.Chat's sendFileMessage DDP method passes the entire attacker-supplied file object into Uploads.updateFileComplete, which merges it directly into a MongoDB $set update via Object.assign. There is no allow-list of writable fields. An attacker can therefore rewrite any column on their own upload record, notably store and the store-specific path fields. This vulnerability is fixed in 8.5.0, 8.4.1, 8.3.3, 8.2.3, 8.1.4, 8.0.5, 7.13.7, and 7.10.11.

Scores

CVSSScoreVectorSource
3.18.5 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:NGitHub_M

Weaknesses

  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes

Affected Products

ProductVersions
Rocket.ChatRocketChat
  • >= 8.5.0-rc.0, < 8.5.0Affected
  • >= 8.4.0-rc.0, < 8.4.1Affected
  • >= 8.3.0-rc.0, < 8.3.3Affected
  • >= 8.2.0-rc.0, < 8.2.3Affected
  • >= 8.1.0-rc.0, < 8.1.4Affected
  • >= 8.0.0-rc.0, < 8.0.5Affected
  • >= 7.11.0-rc.0, < 7.13.7Affected
  • < 7.10.11Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.