Meteor 3.4.5, 3.5.6 and 3.6.2 security releases

Hi everyone!

We’ve published Meteor 3.4.5, 3.5.6 and 3.6.2. Over the last few releases, we’ve put more time into getting security fixes to people running older versions of Meteor. For the critical issues you’ve reported, that’s meant checking which lines are affected, adapting each fix and testing the upgrade from the previous patch. If your app is still on 3.4 or 3.5, you can pick up today’s fixes on the line you already use. Earlier discussion on security backports

This round fixes issues in Meteor and its dependencies. Each line keeps the Node.js runtime we shipped in November. If you use the optional uWebSockets.js transport on 3.6, there’s one setting worth checking before you deploy. Previous security releases

What changed across all three releases

  • WebSocket connections. SockJS now rejects malformed connection requests without bringing down the server. We also updated the WebSocket dependencies used by DDP servers, Node.js DDP clients and the CLI’s hot-reload server. DDP dependency update · CLI update
  • Server-only dynamic imports. Meteor now uses a cryptographically generated key to protect access to modules intended for the server.
  • Async callbacks and MongoDB subscriptions. When an async callback passed to Meteor.setTimeout, Meteor.setInterval or Meteor.defer throws, Meteor logs the error and the server keeps running. We also fixed an oplog observer deadlock that could leave a client waiting for a method to finish and stop subsequent subscription updates. Timer fix by @taekop · MongoDB fix by @senad-zaimovic

Update your app

Run the command for your current line from your app directory.

Current line Changelog Bundled Node.js Update command
3.4.x 3.4.5 22.23.5 meteor update --release 3.4.5
3.5.x 3.5.6 24.22.3 meteor update --release 3.5.6
3.6.x 3.6.2 26.13.1 meteor update --release 3.6.2

On Windows, 3.5.6 fixes an issue where a Meteor source checkout could miss nested packages such as Blaze. On 3.6.2, native npm addons can build in project paths containing spaces. Both patches also update the cross-spawn dependency used when installing accounts-password.

One setting to check on 3.6.2 if you use uWebSockets.js

If you opted into the uws DDP transport, a large initial subscription could lose updates once more than 16 MiB was waiting to be sent to a client. Thanks to @dupontbertrand, those updates now get through. The outgoing buffer is unlimited by default, so a slow client can use more server memory. uWS fix

To keep a per-connection limit, set packages["ddp-server"].uws.maxBackpressure in your Meteor settings. The value is in KiB, so 16384 restores a 16 MiB ceiling. Choose a limit above your largest initial subscription result. If a client exceeds it, the server closes the connection and the client reconnects and subscribes again. This setting applies only to the optional uWS transport. DDP transport guide

We upgraded the Meteor examples from the previous patch on each line and tested them. Thanks to everyone who reported issues, reviewed the backports or helped test an upgrade. If you see a regression in your app, please share your previous Meteor version, operating system and what changed after updating. For a suspected security issue, please write to security@meteor.com so we can investigate privately. Meteor security policy

What is next?

  • 3.6.3 is planned for next week, with backports to 3.4 and 3.5. Alongside the Node.js upgrade, we’ll include security fixes we’ve identified ourselves or confirmed from reports. We’ll also pick up fixes for 3.6 regressions that are ready and backport them where the older lines are affected. Node.js December security release announcement
  • 3.6.4 will focus entirely on regressions. We already have a few waiting for attention. Security patches go straight to an official release. For 3.6.4 we’ll use our regular three-week cycle, so there’s time to try the fixes in your apps before the patch becomes official.
  • The first 3.7 beta will include Capacitor. We’ll spend the first quarter of 2027 gathering feedback from people trying the integration in their Android and iOS apps. We’d especially like to hear how it fits into an existing mobile project. Capacitor preview and discussion

Support the work behind these releases

When you run meteor update, it’s one command on your side. For these three patches, we built and checked installation archives for five platforms per release and ran the example apps on each Meteor line. Sponsoring the project directly funds core long-term contributors, giving them more time to review fixes, test upgrades and get releases out to you sooner. How contributor sponsorship works

Many of you know @dupontbertrand from the forums. He helped build Meteor’s pluggable DDP transports, contributed fixes across past releases, and wrote the 3.6.2 fix that keeps large subscriptions from losing updates on uWS. More recently, he led the rework of the labels on the Meteor repository. They make it easier to see which part of Meteor an issue affects, what its status and priority are, and where contributors can help. Bertrand’s tour of the new labels

Bertrand was the first contributor we sponsored. We wanted to recognize the time he’d already given to the project and help him set aside more of it for work like this. His contributions show how supporting someone who cares about Meteor can improve both the framework and the experience of contributing to it.

Thank you to Galaxy, Input Logic and CodeRabbit for supporting Meteor and helping make this work possible.

If your company builds on Meteor, trying the next release candidate in one of your apps and telling us what worked or broke is a real help. If you’re in a position to contribute financially, consider sponsoring Meteor or an individual contributor whose work your team relies on. Sponsor Meteor on GitHub

2 Likes