CVE-2026-45687
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedRocket.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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceRocket.Chat's sendFileMessage DDP method passes attacker-supplied file objects directly into Uploads.updateFileComplete without field validation, using Object.assign to merge into MongoDB $set updates. This allows attackers to overwrite columns on their own upload records, notably the 'store' field and store-specific path fields, through mass assignment.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Rocket.Chat server versionRun the command: curl -s http://localhost:3000/api/info | jq '.version' or check the admin panel under 'Administration > Info'Affected if The version returned is prior to 8.5.0, or falls within 8.4.0-8.4.1, 8.3.0-8.3.3, 8.2.0-8.2.3, 8.1.0-8.1.4, 8.0.0-8.0.5, 7.13.0-7.13.7, or 7.10.0-7.10.11 (all versions before the fixed releases)
-
Confirm DDP/WebSocket endpoint exposureVerify the Rocket.Chat Meteor DDP endpoint is accessible at /websocket or port 3000 by default. Check with: curl -I http://localhost:3000/websocketAffected if The endpoint responds, indicating the DDP interface is exposed (the vulnerability requires an authenticated DDP connection)
-
Verify file upload capability is enabledCheck if file upload feature is enabled in Administration > Settings > File Upload. Also verify the 'Uploads' collection exists in MongoDB: db.uploads.findOne()Affected if Uploads collection exists and file uploads are permitted (the flaw affects upload record modifications)
-
Check MongoDB upload record structureConnect to MongoDB and inspect a sample upload record: db.uploads.findOne({}) - note the fields 'store' and any store-specific path fieldsAffected if Records contain writable store and path fields that could be modified via the vulnerable Object.assign in Uploads.updateFileComplete
You are affected if your Rocket.Chat version is any release prior to 8.5.0 (or one of the unpatched minor versions 8.4.1, 8.3.3, 8.2.3, 8.1.4, 8.0.5, 7.13.7, or 7.10.11) AND the file upload feature is enabled, since the vulnerability allows authenticated users to modify their own upload record fields via the sendFileMessage DDP method.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Rocket.Chat to version 8.5.0, 8.4.1, 8.3.3, 8.2.3, 8.1.4, 8.0.5, 7.13.7, or 7.10.11, which implement an allow-list of writable fields to prevent unauthorized column manipulation.
8.5.0 (or 7.13.7 for 7.x LTS branch)
- Identify the currently installed Rocket.Chat version by checking the package.json or deployment configuration
- Determine which release branch is appropriate (7.x LTS or 8.x current stable)
- For 7.x branch: Upgrade to version 7.13.7 or later
- For 8.x branch: Upgrade to version 8.5.0 or later
- Backup the MongoDB database and Rocket.Chat data before performing the upgrade
- Follow the official Rocket.Chat upgrade documentation for your deployment method (snap, docker, or manual)
- After upgrade, verify the sendFileMessage DDP method now properly validates file object fields before MongoDB updates
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,512.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-45687 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-45687 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data