Meteor security releases: 3.3.3, 3.4.2 and 3.5.3

Meteor 3.3.3, 3.4.2, and 3.5.3 are now available as official security patch releases. Each includes the same six fixes, so you can update within the release line your application already uses.

CVE information

CVE identifiers for the security issues addressed in these releases will be published soon. The fixed releases are already available, so you can update your applications now.

These patches follow 3.3.2, 3.4.1, and 3.5.2 respectively. Node, npm, and the dev bundle remain unchanged within each line.

Choose your release line

Run the matching command in your existing application, or select the version explicitly when creating a new app:

Current line Security patch Update an existing app Create a new app
3.3 3.3.3 meteor update --release 3.3.3 meteor create my-app --release 3.3.3
3.4 3.4.2 meteor update --release 3.4.2 meteor create my-app --release 3.4.2
3.5 3.5.3 meteor update --release 3.5.3 meteor create my-app --release 3.5.3

The six fixes

  • Google and Facebook login: validate direct-login tokens against the application’s OAuth configuration, use provider-verified Google identity fields, and prevent Facebook verification errors from exposing the app secret.
  • DDP: prevent server crashes caused by invalid protocol-handler names and unhandled asynchronous handler rejections.
  • Allow/deny: include every modified top-level field in update authorization checks.
  • Dynamic imports: bound request size and complexity, batch large valid module graphs, and limit failed module reads and logging.
  • Meteor shell: keep shell history and compilation caches private on POSIX systems, with graceful handling when private persistence is unavailable.
  • Deploy: validate discovery-selected Galaxy HTTPS destinations before sending account credentials, while preserving HTTP discovery for first deploys.

Review before deploying

  • Native Google sign-in: access-token sign-in without serverAuthCode must list the iOS/Android OAuth client IDs in additionalClientIds, or supply a matching Google-validated idToken. Request the email and profile scopes when those fields are needed. ID-token validation needs outbound access to oauth2.googleapis.com.
  • Dynamic imports: deploy the updated client and server together. Older open clients may need a refresh when loading a large uncached module graph. Oversized or malformed requests now receive HTTP 413 or 400.
  • Allow/deny: review validators that depend on modified-field lists, which now include a top-level __proto__ field.
  • Custom deploy servers: select a custom server explicitly with DEPLOY_HOSTNAME and trust that destination before supplying credentials. Automatic discovery selects trusted Galaxy HTTPS deploy servers.
  • DDP extensions: define protocol handlers directly on the handler table; inherited handlers are no longer accepted.

Read the complete release notes for package versions and migration details:

These security corrections intentionally tighten behavior. Review the notes before rolling out the update, particularly if your application uses the affected configurations above.

Validation and feedback

Fresh application installation, bundled MongoDB reads and writes, and production builds passed on macOS ARM64 and Linux x86_64 using Ubuntu 22.04. Windows binaries are available; Windows installation and application tests were not part of this validation.

The bundled MongoDB did not start on the Ubuntu 20.04 test host because the required OpenSSL 3 and newer glibc libraries were unavailable. Check your deployment environment’s runtime requirements before updating an older Linux host. Each release keeps its line’s existing Node, npm, and dev bundle.

Please test your application’s sign-in flows, dynamic imports, authorization rules, and deployment process, and share your upgrade experience in this thread. Report regressions with a minimal reproduction when possible.

Thanks to Vext Labs for the OAuth disclosure, @italojs for implementing and adapting the fixes, and @Grubba27 and @nachocodoner for reviewing dynamic-import.

Sponsors

Thank you to our Supernova sponsors, Galaxy and Input Logic, and our Nebula sponsor, CodeRabbit, for their ongoing support of Meteor.

Their support helps sustain the framework’s development, maintenance, and security work. Learn more about the Meteor Sponsorship Program.

7 Likes

@italojs

Wishing for these also for Meteor 3.6-rc.0 and Meteor devel. Thanks!

Meanwhile, I’ll just fork and patch myself.

4 Likes

Yes, we plan to have them published in the next 3.6-rc.1 release, with upcoming RCs focused solely on security updates.

We also plan to include the latest Node.js updates, along with other security fixes for Meteor itself that we’re preparing privately.

We’ll announce more details soon.

2 Likes

We’re still on Meteor 3.1, but we run our apps using the `mup` Docker image. Would this affect us? And if so, will there be a patch for 3.1 as well?

2 Likes

@waldgeist nice to hear you already using 3.1.x but unfortunatelly we do not support it anymore, originally we just support the latest(3.5) version and previous one(3.4) as you can see in this discussion, those first releases is an exception, we expect to launch the 3.3.4 but I cant ganrantee we will publish security releases for 3.3.5, just for >3.4.x

Yeah, and there’s a practical maintenance reason behind that. The current security work includes fixes in Meteor itself, both in the tool and packages, alongside the upcoming Node.js updates.

Meteor 3.1.x is several release lines behind, and the code has evolved considerably since then. Backporting fixes that far can involve more than cherry-picking commits: changes may need to be adapted to older implementations, and each release line needs testing to verify the fixes and catch regressions. That makes maintaining older lines more complex and time-consuming.

We’re currently experimenting with ways to improve our backporting strategy and support. For now, we need to keep the scope manageable so we can validate each release thoroughly and have confidence in its stability.

For an app on 3.1.x, I’d recommend aiming for the latest patched 3.4.x, or 3.5.x if practical. You can keep your existing Meteor bundler configuration and leave the optional modern build-stack optimizations and Rspack disabled for now. That keeps a bundler migration out of the initial upgrade, so you can focus on validating the newer Meteor release and its security fixes, then explore the build improvements separately.

In the meantime, regarding your Node question in the other thread, one useful feature of zodern/meteor is that its Node runtime is configurable independently of the Docker image release. With Mup, you can use its documented Node version override to select a patched Node version without waiting for a new image. For Meteor 3.1.x, stay on Node 22 and select the patched 22.23.4 release by adding these to your existing app.env in mup.js:

NODE_VERSION: '22.23.4',
EXACT_NODE_VERSION: 'true',

EXACT_NODE_VERSION makes it use the version you requested instead of choosing a preinstalled version from the same Node major. The startup script downloads and installs it if needed. Redeploy with those settings, confirm the selected version in the startup logs or the running app’s process.version, and test your app, including native dependencies.

That addresses the Node runtime side. It doesn’t apply the Meteor tool or package fixes, or update the Node bundled with your local Meteor installation, so I’d still plan the Meteor upgrade alongside it.

We’re also working towards an official Meteor Docker workflow, with the aim of providing versioned images aligned with supported Meteor releases and their Node requirements. That’s still in progress, but the goal is to make this easier to manage going forward with an official approach.

5 Likes

Thanks, wasn’t aware of the Node version override in mup. I think the most important upgrade for us will be exactly this.

2 Likes

@nachocodoner any news on when the 3.5.4 and 3.6-rc.1 will be out?

It feels like the minor versions are changing quite fast these days.

2 Likes

We’re aiming to publish Meteor 3.3.4, 3.4.3, 3.5.4 and 3.6-rc.1 early this week, once the remaining verification is complete.

The security work in Meteor itself started well before the latest Node.js updates, based on internal reviews and reports shared privately with us. Those fixes were already included in the upcoming patches, and we’ve since added the Node.js security updates to the same releases.

The backports have needed some extra care around version compatibility. Each release line has different implementations and dependency constraints. We need to ensure the patched packages work together, that partial updates cannot introduce incompatible combinations, and that older backports don’t replace newer functionality in the 3.6 RC. We’ve been validating package resolution and running regression and example-app tests, with CI, build and publication checks.

Security is especially important today with AI, and we need to be prepared to deliver backported fixes quickly through a reliable, repeatable process. We’re committed to improving both the speed of our response and the validation behind each release.

That’s the motivation behind the release cadence and security backport strategy we’ve been discussing with the community. We’re putting considerable effort into turning what we learn into automated checks and reusable internal release workflows, so future security releases take less manual work and reach you sooner.

For this round, we’re keeping coverage from 3.3.x onwards. Going forward, we need a more manageable process and a realistic scope for how many older release lines we can maintain reliably. This work is helping us understand that cost and refine the approach.

We’ll announce the patches as soon as they’re available. I hope them for today or tomorrow depending on how the process goes. Thanks for your patience, and please keep supporting Meteor through testing, contributions and sponsorship. That support helps sustain this maintenance so we can all continue benefiting from it.

9 Likes

I’m checking every few hours for the releases.

That said from what I remember of the release process it was very manual so getting that automated will be great.

Also, when I run meteor show METEOR --show-all
I see a section called `Experimental versions:`
I think digging into this and moving betas and RCs under this or a new category to establish new release pipelines would be helpful.

So in too many words I’m saying that I’m excited to see more release automation and cleanup, so that security releases can happen faster.

3 Likes

Like many others, look forward to the imminent release of 3.5.4 and am VERY grateful to the amazing work of the core team!

2 Likes

A few years ago the release process was messy and very error-prone. It has been almost fully automated for a while now.

3 Likes

Refer to these forum posts for more details on the next security backport releases provided.

1 Like