Read the docs

Missing rate limit on sendForgotPasswordEmail method in Rocket.Chat

Priority LOW 38CWE-204Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Information disclosure, Security bypass
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-204 and CWE-307.

Summary

Rocket.Chat versions before 8.8.0, 8.7.2, 8.6.2, 8.5.3, 8.4.6, 8.3.8, 8.2.8, 8.1.8 and 7.10.15 are affected. The Meteor method sendForgotPasswordEmail has no DDP rate limiter, so it accepts unlimited requests (CWE-307). An unauthenticated remote attacker can repeatedly trigger password reset emails over DDP, WebSocket or the method.callAnon HTTP route.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the GitHub advisory

## Summary The Meteor method `sendForgotPasswordEmail`, callable unauthenticated over DDP / WebSocket and over the `POST /api/v1/method.callAnon/sendForgotPasswordEmail` HTTP route, has **no `DDPRateLimiter` rule attached**. Its sibling method `sendConfirmationEmail` (in the same directory, mostly the same shape) does have a rate limit. ## Details `sendForgotPasswordEmail.ts` in its entirety: ```ts // apps/meteor/server/methods/sendForgotPasswordEmail.ts export const sendForgotPasswordEmail = async (to: string): Promise<boolean | undefined> => { const email = to.trim().toLowerCase(); const user = await Users.findOneByEmailAddress(email, { projection: { _id: 1, services: 1 } }); if (!user) { return true; // <-- silent on non-existent } if (user.services && !user.services.password) { if (!settings.get('Accounts_AllowPasswordChangeForOAuthUsers')) { return false; // <-- distinguishable signal for OAuth-only users } } try { Accounts.sendResetPasswordEmail(user._id, email); return true; } catch (err) { SystemLogger.error({ err }); } }; Meteor.methods<ServerMethods>({ async sendForgotPasswordEmail(to) { check(to, String); return sendForgotPasswordEmail(to); }, }); // NB: no DDPRateLimiter.addRule(...) anywhere in this file ``` Compare `sendConfirmationEmail.ts` (same directory, same purpose-class): ```ts // apps/meteor/server/methods/sendConfirmationEmail.ts:29-39 DDPRateLimiter.addRule( { type: 'method', name: 'sendConfirmationEmail', userId() { return true; } }, 5, 60000, ); ``` The REST endpoint `POST /api/v1/users.forgotPassword` (`apps/meteor/app/api/server/v1/users.ts:1124`) does not set custom `rateLimiterOptions`, so it falls under the API's default REST rate limiter (`API_Enable_Rate_Limiter_Limit_Calls_Default`). That bounds the REST path. The DDP method has no such floor. ## References - `apps/meteor/server/methods/sendForgotPasswordEmail.ts` - affected file - `apps/meteor/server/methods/sendConfirmationEmail.ts:29-39` - correct pattern in sibling method - `apps/meteor/app/api/server/v1/users.ts:1124` - REST entry point (rate-limited via API default) - `apps/meteor/app/api/server/v1/misc.ts:670-720` - `method.callAnon` HTTP-to-DDP bridge

Why it matters now

Fix Fixed Rocket.Chat: 8.8.0, 8.7.2, 8.6.2 +6

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Rocket.Chat<8.8.0, <8.7.2, <8.6.2, <8.5.3, <8.4.6, <8.3.8, <8.2.8, <8.1.8, <7.10.158.8.0, 8.7.2, 8.6.2, 8.5.3, 8.4.6, 8.3.8, 8.2.8, 8.1.8, 7.10.15Patch availableGHSA-7c6v-m68v-v73r
  • Rocket.Chat Vendor— Affected <8.8.0, <8.7.2, <8.6.2, <8.5.3, <8.4.6, <8.3.8, <8.2.8, <8.1.8, <7.10.15 Fixed in 8.8.0, 8.7.2, 8.6.2, 8.5.3, 8.4.6, 8.3.8, 8.2.8, 8.1.8, 7.10.15 Patch available GHSA-7c6v-m68v-v73r

Remediation

Upgrade Rocket.Chat to 8.8.0, 8.7.2, 8.6.2, 8.5.3, 8.4.6, 8.3.8, 8.2.8, 8.1.8 or 7.10.15, using the fixed version for the release line in use.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · GHSA-7c6v-m68v-v73r Rocket.Chat Fixed in 8.8.0, 8.7.2, 8.6.2, 8.5.3, 8.4.6, 8.3.8, 8.2.8, 8.1.8, 7.10.15 Advisory →

Timeline

  1. 2026-11-12 Threatist record created from GHSA-7c6v-m68v-v73r

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences