MongoDB data lifetime and harvest now decrypt later risk

Data in MongoDB that must stay confidential for years is most exposed to harvest now, decrypt later, because its TLS traffic and key exchange rely on classical elliptic-curve and Diffie-Hellman key agreement that the documentation does not show as post-quantum. Owners of long-lived data should rank it first in migration order.

On this page

Which MongoDB data is exposed to harvest now, decrypt later

If your MongoDB data must stay confidential longer than your post-quantum migration window, the traffic carrying it is exposed to harvest now, decrypt later for that whole confidentiality lifetime. MongoDB's documented TLS forward secrecy suites use ephemeral Diffie-Hellman (DHE) and ephemeral elliptic curve Diffie-Hellman (ECDHE) for key exchange, and the TLS documentation does not state a post-quantum key exchange. Recorded sessions could therefore be stored today and decrypted later by an adversary with a sufficiently capable quantum computer. The exposure applies to self-managed MongoDB Enterprise Advanced, Community Edition and Atlas, and it is documented against the release notes index, which lists 9.0 as the current stable release with 8.3, 8.0 and 7.0 as previous stable releases, as read on 2026-12-03. The Atlas security statements were last updated 2026-09-30, so confirm both dates before relying on them.

Start by sorting your collections and fields by confidentiality lifetime, not by sensitivity alone. Records such as health data, financial history, personal identifiers and credentials that must stay confidential for many years are the priority, because they fall inside the window in which recorded traffic could be decrypted later. Client connections, replica set member traffic and sharded cluster links all carry this data, so each path needs an entry. Clients connecting to self-managed deployments must be checked against the net.tls.mode setting and the net.tls.disabledProtocols list, since TLS 1.0 and 1.1 are already disabled where TLS 1.2 or later is available.

Stored data needs a separate check. AES-256 storage encryption in self-managed Enterprise is symmetric, so the documentation does not show it depending on public-key algorithms in the same way as TLS. However, the master key is held in a KMIP server or a local keyfile, and KMIP itself operates over TLS, so the key transport path inherits the TLS exposure above. Confirm with MongoDB which components of your key management chain use public-key exchange, and record the answer. Atlas customers should confirm how their client-side field level encryption keys are held, whether in AWS KMS, Azure Key Vault, Google Cloud KMS or a KMIP-compliant service, and what key-transport path each one uses.

Where MongoDB data is exposed, by path and deployment

This table compares each MongoDB data path against self-managed Enterprise, Community and Atlas, with the documented algorithm class and source for each row. Key exchange rows are classical (DHE and ECDHE), and AES-256 storage rows are symmetric, so data captured now stays exposed to a future quantum attacker only where a recorded key exchange can be broken later. Confirm each Atlas and Enterprise setting in your own deployment.

Data pathSelf-managed EnterpriseCommunity EditionMongoDB Atlas
Client TLS key exchangeClassical: DHE and ECDHE, per TLS docs (MongoDB TLS Docs, checked 2026-12-03)Classical: DHE and ECDHE, per TLS docs (MongoDB TLS Docs, checked 2026-12-03)Classical: DHE and ECDHE; TLS 1.3 is the recommended default (MongoDB Security Measures, updated 2026-09-30)
Client TLS certificates and signaturesX.509 certificates; key sizes and signature algorithms not specified in the docs (MongoDB TLS Docs)X.509 certificates; key sizes and signature algorithms not specified in the docs (MongoDB TLS Docs)X.509 certificates rotated every 42 days before a 90-day expiry (Atlas Security Config)
Replica and cluster member authenticationX.509 member certificates or keyfile with SCRAM challenge-response (MongoDB X.509 Member Auth; MongoDB Internal Auth)Keyfile with SCRAM challenge-response only; X.509 member auth not confirmed in the docs (MongoDB Internal Auth)Managed by Atlas; member authentication details are not in the sources checked (Atlas Security Config)
At-rest storage encryptionSymmetric AES256-CBC by default, AES256-GCM on Linux; master key in KMIP or keyfile (MongoDB Encryption at Rest)Not covered by the encryption at rest page for Community (MongoDB Encryption at Rest)Encryption at rest is managed by Atlas; cipher details to confirm with MongoDB (MongoDB Security Measures)
Field-level encryption keysKeys in KMIP-compliant service or cloud KMS; KMIP runs over TLS (MongoDB Security Measures)Not confirmed in the sources checked for CommunityKeys in AWS KMS, Azure Key Vault, Google Cloud KMS or KMIP (MongoDB Security Measures, updated 2026-09-30)
Revocation checksOCSP enabled by default, with CRLFile as an alternative (MongoDB TLS Docs)OCSP enabled by default, with CRLFile as an alternative (MongoDB TLS Docs)Revocation handling is managed by Atlas; confirm with MongoDB (Atlas Security Config)
FIPS modeAvailable with net.tls.FIPSMode; log shows FIPS 140-2 mode activated (MongoDB FIPS)Not available in Community (MongoDB FIPS)FIPS 140-2 disabled by default; enabled automatically on Atlas for Government (Atlas Security Config)

Which MongoDB paths carry data that outlives the migration window

Some MongoDB traffic and stored data stays sensitive for years after it is written, so its exposure window can outlast a migration. The cards below cover the connection, cluster, storage and client-side key paths that carry such data, and what each one protects. The MongoDB documentation reviewed here does not state post-quantum support for any of these paths.

Client connections and forward secrecy

Client sessions are governed by net.tls.mode and the net.tls.disabledProtocols list, with DHE and ECDHE providing forward secrecy on Linux. Session keys are negotiated per connection, so a recorded session exposes its own traffic, but any captured handshake that a future attacker can break would expose the plaintext of queries and results. Check the TLS mode, the disabled protocols and the cipher configuration on every deployment. The documentation does not state its post-quantum support for this key exchange.

MongoDB TLS docs

TLS 1.3 cipher suites on Linux

The opensslCipherSuiteConfig parameter, added in MongoDB 5.0, sets the colon-separated TLS 1.3 suites on Linux at startup, for example TLS_AES_256_GCM_SHA384. Atlas customers who run a custom TLS 1.2 cipher list must add TLS 1.3 suites before moving to TLS 1.3. Record the suites in use, since they determine what the connection layer negotiates. The documentation does not state its post-quantum support for these suites.

MongoDB parameters

X.509 member authentication between cluster nodes

Replica set and sharded cluster members authenticate with X.509 certificates when security.clusterAuthMode is set to x509 with net.tls.clusterFile. All member certificates must come from one CA, so a certificate change touches the whole cluster. Cluster traffic includes replicated data, which can remain sensitive for as long as the data itself. The documentation does not specify key sizes or signature algorithms for these certificates, and it does not state post-quantum support.

X.509 member auth

Keyfile SCRAM as the member alternative

When X.509 is not used, security.keyFile authenticates members with SCRAM challenge-response over a shared password of 6 to 1024 base64 characters. Its exposure differs from X.509 because no public-key certificate is involved in membership, but the key still protects replicated data. Confirm which mechanism each cluster uses and where the keyfile is stored. The documentation does not state its post-quantum support for this mechanism.

Internal auth docs

Encryption at rest with AES-256

Self-managed MongoDB Enterprise encrypts storage with AES256-CBC by default, and AES256-GCM is available on Linux. The master key sits in a KMIP server, which is the recommended location, or in a local keyfile. The data is symmetrically encrypted, so the public-key exposure sits in how the master key is delivered to the KMIP server over TLS. Confirm the cipher mode and key custody for each cluster. The documentation does not state its post-quantum support for this key path.

Encryption at rest docs

Client-side field-level encryption keys

Client-side field-level encryption keys can be held in AWS KMS, Azure Key Vault, Google Cloud KMS or any KMIP-compliant service, so the key custody depends on the chosen provider. Fields encrypted this way stay protected by the key provider's controls, so the lifetime of those fields is tied to that provider's key handling. Identify which fields use this feature and which provider holds each key. The documentation does not state its post-quantum support for these key providers.

MongoDB security measures

How the exposure differs for self-managed, Atlas and government deployments

Self-managed Enterprise Advanced leaves TLS configuration, library choice and key custody with your own team. On Linux, MongoDB uses OpenSSL for TLS, and the TLS library depends on the operating system you run. FIPS 140-2 mode is off by default and is turned on with the net.tls.FIPSMode setting. The documentation names OpenSSL 3.0 with the OpenSSL FIPS provider on RHEL 9, Amazon Linux 2023 and Ubuntu 22.04, and states that 7.0 and 6.0.7 support these platforms. Encryption at rest uses AES256-CBC by default, with AES256-GCM also available on Linux, and the master key sits in a KMIP server (recommended) or a local keyfile.

  • TLS library by OS: Secure Channel on Windows, OpenSSL on Linux and BSD, and Secure Transport on macOS.
  • FIPS mode: Enabled with net.tls.FIPSMode: true, which defaults to false. The log then shows "FIPS 140-2 mode activated".
  • Protocol floor: TLS 1.0 and 1.1 are disabled where TLS 1.2 or later is available, set through net.tls.disabledProtocols.
  • Key exchange: DHE and ECDHE are supported. On Linux, DHE is enabled with opensslDiffieHellmanParameters or the ffdhe3072 parameters from RFC 7919.
  • Storage keys: The master key is held in KMIP (recommended) or a local keyfile, and the KMIP connection runs over TLS.

Confirm which OS and OpenSSL version each node runs, and whether FIPS mode is set on every member, since the setting applies per process.

How to rank MongoDB data for migration by confidentiality lifetime

This sequence sorts the collections, backups and connections that carry MongoDB data by how long their contents must stay confidential, so migration effort goes first to data that an attacker could record today and decrypt later. Each step produces an inventory entry that a data owner, security lead or assessor can check against the cluster settings and vendor statements.

  1. Inventory collections and backups by confidentiality lifetime

    The data owner, working with the application team, lists every collection, index with sensitive content, and backup or snapshot that holds data whose confidentiality must last beyond the migration window. For each entry, record the data class, the period it must remain confidential, and whether a copy exists outside the cluster. The step is done when every entry has a lifetime value agreed by the data owner, and entries with no agreed value are marked for follow-up rather than left blank.

  2. Map each dataset to the paths that carry it

    The platform engineer traces each dataset from the inventory to the connections, replica set members, sharded cluster components, drivers, backup tooling and storage paths that read or move it. Record the network path, the member or host name, and whether the traffic is client-to-cluster, member-to-member or export. The step is complete when every high-lifetime dataset has at least one mapped path, and each path names the component that terminates its TLS session.

  3. Record TLS version and cipher settings per cluster

    For each cluster, the platform engineer reads the net.tls.mode, net.tls.disabledProtocols, opensslCipherConfig and opensslCipherSuiteConfig values from the running configuration, and records them with the MongoDB version and edition. Confirm that TLS 1.0 and 1.1 are disabled, and note whether TLS 1.3 cipher suites are set explicitly on Linux. For Atlas clusters, record the minimum TLS version and any custom cipher selection from the cluster settings. The step is done when each cluster has a recorded row, and any value left at its default is marked as such.

  4. Inventory certificate sources, expiry and revocation checks

    The PKI or platform team lists the certificate and key files referenced by net.tls.certificateKeyFile, net.tls.CAFile and net.tls.clusterFile, and identifies the issuer for each. Record the expiry date and confirm whether the 30-day expiry warning appears in the logs. Record whether OCSP checking is in effect or whether net.tls.CRLFile is configured instead, and note any member that relies on the same certificate for membership when no cluster file is set. The step is done when every certificate has an owner, an issuer and an expiry date, and any certificate that expires within 30 days is flagged to the owner.

  5. Confirm post-quantum support for each path with the vendor

    The security lead writes to MongoDB, using the MongoDB manual, release notes and Atlas documentation as the reference point, and asks which post-quantum algorithms, if any, the current release of each deployed edition supports for TLS key exchange, certificates and member authentication. Ask the same question for the Atlas service and for the self-managed edition in use. Record the answer, the vendor document it cites and its date. The step is done when every path from the earlier steps has a written answer, and any path the vendor has not addressed is recorded as unconfirmed.

  6. Rank datasets by lifetime and path exposure

    The security lead combines the lifetime values from the inventory with the path and settings records to order the datasets for migration. Datasets that must stay confidential for the longest period and travel over paths with weak or default settings, or with no confirmed post-quantum support, move to the front of the order. Record the reasoning for each ranking position in one line. The step is complete when the ordered list is signed off by the data owner and the security lead, and every position names the lifetime value and the path that drove it.

What MongoDB has not published and what to ask the vendor

The MongoDB documentation reviewed for this page covers TLS, X.509 member authentication, keyfile authentication and encryption at rest, but it does not describe a post-quantum key exchange, a post-quantum certificate type or a key or signature requirement for member certificates. Each card below names one gap and one question to put to MongoDB before deciding how long data must stay confidential.

Post-quantum key exchange in TLS

The TLS pages describe forward secrecy through ephemeral DHE and ECDHE, with ECDHE curve selection left to OpenSSL or prime256v1 on Linux. Neither page names a post-quantum or hybrid group, so recorded sessions protected only by these exchanges remain exposed to a future quantum adversary. Ask MongoDB whether TLS key exchange will offer post-quantum or hybrid groups, in which server and driver versions, and whether this depends on the OpenSSL version shipped with each platform.

MongoDB TLS docs

Post-quantum member and client certificates

Replica set and sharded cluster members authenticate with X.509 certificates issued by a single CA, and the member authentication page does not state key sizes or signature algorithms for those certificates. Client certificates used for application logins follow the same silence. Certificates that remain valid for years can be harvested now and forged later if their signatures are classical. Ask MongoDB whether member and client certificates can use post-quantum signatures, which key types are supported, and whether hybrid certificates are planned.

X.509 member auth

Migration path for KMIP master keys

Encryption at rest in self-managed Enterprise holds the master key in a KMIP server, recommended over a local keyfile, and KMIP operates over TLS. The encryption-at-rest page does not say how the master key or its wrapping would change under a post-quantum scheme. Data encrypted under a key that a quantum adversary could later recover must be re-encrypted, which can take significant planning. Ask MongoDB whether the KMIP and keyfile master key options have a migration path, and whether re-keying an existing database can happen without downtime.

Encryption at rest docs

Keyfile internal authentication

Replica set members can instead authenticate with a shared keyfile using SCRAM challenge-response, and the internal authentication page sets the shared password at 6 to 1024 base64 characters. SCRAM itself is a symmetric password scheme, but the keyfile is distributed through channels that may rely on public-key cryptography. The docs do not describe how the keyfile itself is protected or rotated in a post-quantum context. Ask MongoDB what guidance it gives for keyfile distribution and rotation during a post-quantum transition.

Internal auth docs

Revocation checks for post-quantum certificates

OCSP revocation checking is enabled by default, with a CRL file as an alternative. Revocation depends on responders that sign their responses with public keys, and the TLS page does not say whether those responses could move to post-quantum signatures. A revocation scheme that cannot be updated leaves a gap even after certificates are replaced. Ask MongoDB whether OCSP and CRL handling will support post-quantum signatures, and how revocation will work during a mixed-certificate period.

MongoDB TLS docs

What can go wrong when data lifetime is longer than the cipher settings

A MongoDB cluster can keep its TLS 1.2 cipher choices long after the data it carries needs protection for years. Where opensslCipherConfig is set at startup, or where custom cipher suites are configured in Atlas, the server or cluster will not move to newer suites on its own. Data that crosses those links today is protected by whatever the pinned list allows, and a recorded session can be stored for later decryption if the key exchange it used is not one a future attacker cannot break. Data owners should therefore check, for each deployment, whether opensslCipherConfig appears in the startup configuration or whether an Atlas cluster has a custom cipher list, and record the value they find.

Moving to TLS 1.3 is not only a version change. The documented behavior is that a custom TLS 1.2 cipher configuration must be updated to include TLS 1.3 ciphers before the cluster moves to TLS 1.3, which means the TLS 1.2 list alone does not carry the newer suites. On self-managed Linux servers, opensslCipherSuiteConfig sets the TLS 1.3 suites at startup, for example TLS_AES_256_GCM_SHA384, and it is a separate setting from opensslCipherConfig. Teams should confirm both values with the cluster owner before a version change, and should not assume the TLS 1.3 defaults apply when a custom TLS 1.2 list is in place.

Two further cases shift protection in ways that are easy to miss. In MongoDB 8.3 and later, specifying SCRAM-SHA-1 in authenticationMechanisms together with FIPS mode causes a startup error, so an environment that relied on that combination will fail to start after the upgrade rather than degrade quietly, and the fix is a configuration change to be planned ahead of the upgrade. Backups and archives also keep the protection of the era in which they were written: a snapshot taken under a TLS 1.2 or older cipher policy, or an encrypted backup whose key is held under older settings, does not gain stronger protection when the live cluster is later upgraded. Owners should inventory where backups are stored and which configuration produced them, and treat those copies as carrying the older protection level.

Questions about MongoDB harvest now, decrypt later exposure

Is MongoDB quantum safe?

The sources supporting this page do not state that MongoDB is quantum safe, and they make no such claim, so this page does not make one either. What the documentation does show is where public-key cryptography appears: TLS key exchange using DHE and ECDHE, X.509 certificates for TLS and for member authentication, and OCSP or CRL revocation checks. AES-256 used for encryption at rest is symmetric and is described separately from those public-key functions. Whether any of these are post-quantum depends on the version, edition and component in use, and the sources do not list post-quantum algorithm support. Confirm the current position in the MongoDB Manual and with MongoDB directly before recording an answer.

Which MongoDB version should we plan for, 9.0 or 9.1?

Plan for 9.0 as the current stable release, and treat 9.1 as upcoming. The MongoDB release notes index, as read on 2026-12-03, lists 9.0 as current, 8.3, 8.0 and 7.0 as previous stable releases, and 9.1 as upcoming. Upcoming releases can change before general availability, so the plan should be checked against the release notes on the day you commit. Engineers should also confirm which versions your environment runs today, since the TLS and OpenSSL behavior described in the docs depends on the operating system build. Self-managed deployments and Atlas clusters may follow different upgrade paths, so check both.

Do stronger MongoDB TLS settings cost extra?

The sources describe the settings but do not state a price, and MongoDB's license terms for Enterprise Advanced versus Community Edition determine which features you can use. The settings themselves are configuration: net.tls.disabledProtocols, opensslCipherConfig and opensslCipherSuiteConfig are documented as parameters, and FIPS mode with net.tls.FIPSMode is available only in MongoDB Enterprise. Costs therefore come from the edition you need, the engineering time to test and roll out changes, and any OS or OpenSSL upgrades required. Ask MongoDB which edition and support tier cover FIPS and advanced TLS configuration, and get the pricing in writing.

Can our team do the MongoDB TLS and encryption work ourselves?

Yes, many of the steps are configuration changes your team can make and test. The work includes disabling TLS 1.0 and 1.1 through net.tls.disabledProtocols, setting cipher configuration, rotating certificates before they expire, and enabling X.509 member authentication with a single CA for all members. Your team should confirm the OpenSSL version on each host, since the docs list specific supported OpenSSL and FIPS provider combinations by operating system. Replica set and sharded cluster changes need careful rollout, and Atlas clusters are managed by MongoDB, so some settings are handled in the Atlas console instead. If the team lacks TLS or PKI experience, outside help can plan and test the change, but the decision on what to deploy stays with your team.

What should we ask MongoDB about post-quantum plans?

Ask MongoDB whether any post-quantum algorithms are supported in the release you run, and in which editions and deployment types. Ask whether TLS key exchange, certificate issuance and member authentication have a published roadmap, and for dates. Ask what the migration path looks like for self-managed clusters, including whether hybrid modes will be offered, and how Atlas customers will be notified and configured. Ask how long TLS 1.2 and cipher configurations are expected to remain supported, and whether any dependency on OpenSSL or the operating system will change. Request the answers in writing with the version they apply to, since the sources do not record vendor statements on post-quantum support.

How long must MongoDB data stay confidential to count as exposed?

This depends on your own retention and sensitivity requirements, which the sources do not set. The relevant question is whether data captured now and decrypted later would still matter when a capable quantum computer exists, so the time that counts is the period the data must remain confidential, not the age of the record. Data owners should list each data set in MongoDB with its required confidentiality period, then compare that period with the migration timeline for the TLS, certificate and key management functions that protect it. Data with long confidentiality needs and TLS sessions that still use vulnerable key exchange are the first to review. Engineers can use the inventory of public-key functions described in the other pages on this topic.

Does enabling FIPS mode change post-quantum exposure in MongoDB?

The sources show that FIPS mode is available only in MongoDB Enterprise, that it is enabled with net.tls.FIPSMode: true, and that it is verified in the log by a message reading "FIPS 140-2 mode activated". The FIPS page references only FIPS 140-2, and the sources do not link FIPS mode to post-quantum algorithms. FIPS mode is a compliance and validation setting, not a post-quantum control, so it should not be recorded as one. Starting in MongoDB 8.3, combining SCRAM-SHA-1 in authenticationMechanisms with FIPS mode causes a startup error. Confirm with MongoDB what FIPS mode changes on the version you run before treating it as part of any migration plan.

How DeployOpen works on this

DeployOpen helps data owners decide how long MongoDB data must stay confidential, then turns that answer into a migration order for the TLS links, replica set membership and stored data that carry it. We scope the work in writing, test the configured settings against the vendor documentation, and hand over a dated record of what each deployment uses and what to change first.

How we scope

  • We confirm which MongoDB edition, Atlas or self-managed, and which release version each deployment runs, since the documented settings differ by version.
  • We record how long each collection's data must stay confidential, from the data owner's retention and sensitivity requirements, to set migration priority.
  • The written scope lists which connections, replica set links, backups and encrypted fields are covered, and which are excluded, before any work starts.

How we build

  • We read the live net.tls, security.clusterAuthMode and opensslCipherConfig settings on each node and map them against the documented defaults.
  • We check which key exchange modes (DHE and ECDHE) and which certificate chains each link uses, separating key exchange from signatures.
  • We identify long-lived data flowing over links that negotiate with forward secrecy, and flag links where recorded traffic would remain readable later.

How we hand over

  • Deliverables include an inventory of each connection and stored data set, its protocol versions, cipher configuration and confidentiality lifetime.
  • The migration order ranks deployments by how long their data must stay confidential, with the vendor statements and source documents cited for each setting.
  • We document each setting we changed, the version it applies to, and the test we ran to confirm it, so your team can repeat the check.

How we support

  • Ongoing support and retesting are available as a retainer, so inventories can be refreshed when MongoDB releases a new version or a settings default changes.
  • We can retest after each upgrade, including Atlas maintenance windows, and update the migration order if data lifetimes or cluster topology change.
  • Ask us to confirm the release notes and vendor statements for your version before you rely on any setting, since support can change between releases.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.