All posts

Keeping your NATS system secure with post-quantum cryptography

Keeping your NATS system secure with post-quantum cryptography

Over the last few weeks, it’s become clear that frontier AI models have made progress towards breaking some cryptographic algorithms. As of this writing, the specifics of which algorithms may have been compromised aren’t entirely clear.

But there is consensus among cryptography experts and leading tech companies that elliptic curves, including Ed25519 used by NATS.io, could be at risk.

Rather than wait for explicit confirmation of compromise, we are moving proactively to support post-quantum algorithms recommended by NIST. For Synadia Cloud and Managed Synadia Platform customers, Synadia will migrate the chain of trust, meaning the operator and account identities, to post-quantum keys on their behalf. This will be transparent, with no end-user or application impact. User and application credentials can then be rolled by each organization at their own pace.

We will work with our self-hosted customers and the general NATS ecosystem to help them upgrade their systems in a similar fashion.

How is the NATS ecosystem impacted?

NATS decentralized auth (operator mode, JWTs and creds files) is built on NKeys, which uses the Ed25519 signature algorithm. Ed25519 was explicitly chosen during the design due to its low branching behaviors in the face of the Spectre and Meltdown exploits. If Ed25519 has been compromised, a sophisticated attacker could forge credentials and connect as a legitimate user on any NATS system they can reach that relies on NKeys.

NKeys can also be used with centralized auth, where users are listed in the server config without JWTs, and those systems would also be at risk.

NATS systems using centralized auth with a username and password, or with a shared-secret token, do not depend on Ed25519 and are not exposed to this issue. Even so, we continue to recommend NKeys, with or without JWTs, over passwords and tokens.

What are we doing about it?

The Synadia team is hard at work building a post-quantum migration path for NATS that keeps existing user and application credentials working, while letting organizations make the full post-quantum transition on their own timelines.

The change starts with the transparent migration of operator and account identities, which Synadia will work with our customers to complete quickly. This step is time-sensitive. The new identities are aliased to the old ones in a cryptographically verifiable way, and that has to happen while the existing keys can still be trusted.

This new path requires changes to the NATS server, our tier 1 client libraries, and the NKeys and JWT libraries. Our new default signing algorithm will be ML-DSA-44, the post-quantum signature standard from NIST (FIPS 204) at security level 2. The server and clients will be backwards compatible and a drop-in replacement for existing systems and applications. We anticipate releasing NATS Server 2.15.4, which will include this migration path, by Thursday, December 10, 2026, alongside the updated libraries. Along with the release notes next week, we will share more details on how to migrate.

What should organizations using NATS do in response to this news?

We recommend that organizations using NATS plan to upgrade to 2.15.4 when it is released, and watch for the migration guide that will accompany the release notes next week.

The changes we’re making to the NATS server and associated libraries are proactive ones. We don’t have complete certainty on the status of compromises to elliptic curve algorithms like Ed25519 or any other cryptographic algorithms, but we agree with the industry recommendations to accelerate the move to post-quantum cryptography.

Our customers, including many government agencies, military, and top companies around the world, trust Synadia and NATS to deliver critical and secure infrastructure. We take that trust very seriously and are acting accordingly.

We want to let organizations and their security teams react quickly and make the best choices for their deployments. Every organization has their own specific circumstances and risk tolerance.

If you have questions about how we’re implementing these changes or what they mean for your architecture, please get in touch with your account team or contact us here.

Get the NATS Newsletter

News and content from across the community


Cancel