External risk intelligence

MongoDB Python Driver TLS Certificate Revocation Check Bypass

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2026-135146

The vulnerability exists in a client-side library (the MongoDB Python Driver) and requires a client to initiate a connection to a malicious or compromised endpoint. While the network is involved, the driver itself is not a public-facing service, appliance, or gateway, making direct internet exposure of the vulnerable component uncommon in typical deployments.

Halo Surface Signal: 2 out of 5 — less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A vulnerability in the MongoDB Python Driver's TLS certificate checking could allow an unauthenticated attacker to establish a connection to a client. This could lead to the disclosure of application credentials and session data, and the client may treat responses from a malicious endpoint as legitimate. The main concern is confirming relevance and exposure.

  • Improper certificate check allows connection.
  • Critical issue: credential and session data disclosure.
  • Verify if your Python applications are affected.

Attack Path

How an attacker could exploit the issue

An attacker who controls the network endpoint a client connects to can trick the MongoDB Python Driver into accepting a connection using a certificate that should have been rejected. This happens because the driver's TLS revocation check is not properly implemented, potentially allowing the attacker to intercept sensitive application data and have the client trust malicious responses.

  • Attacker controls network endpoint.
  • Improper TLS certificate revocation check.
  • Unintended disclosure of credentials.

Live Threat

Current exploitation, exposure, and threat context

An unauthenticated attacker who controls the network endpoint a MongoDB Python Driver client connects to could present a revoked, but still valid, certificate. When the driver's optional TLS revocation checking is not properly configured, this could lead to the client accepting the connection, potentially exposing application credentials and session data to the attacker, and causing the client to trust responses from the malicious endpoint.

  • Application credentials and session data.
  • Malicious network endpoint connection.
  • Client trusts false responses.

Operational Fix

Recommended remediation, mitigation, and detection steps

This vulnerability impacts applications using the MongoDB Python Driver with TLS revocation checking enabled. Application owners and platform teams are likely responsible for managing these drivers. The first practical step is to identify where this driver is deployed, assess its exposure to untrusted network endpoints, and confirm the business criticality of affected applications.

  • Application owners must own this issue.
  • Verify TLS revocation checking configuration.
  • Plan remediation during maintenance windows.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the MongoDB Python Driver and how is it used?

The MongoDB Python Driver is a software library that enables Python applications to communicate with MongoDB databases. It handles the underlying network protocols, including TLS encryption, to facilitate secure data exchange. Developers integrate this driver into their application code to perform database operations, meaning it resides within the application stack rather than acting as a standalone database server itself.

How does CWE-299 affect CVE-2026-135146?

This vulnerability falls under CWE-299, which involves improper validation of certificate chains. In the context of CVE-2026-135146, the driver fails to correctly verify the revocation status of TLS certificates. Because the driver ignores whether a certificate has been officially revoked, it may trust an endpoint that should no longer be considered secure, effectively breaking the chain of trust intended to protect your application's data transmission.

When does this vulnerability trigger?

The vulnerability is triggered only when a client initiates a connection to a network endpoint controlled by an attacker who presents a revoked yet dated certificate. It does not trigger if you are connecting to legitimate, trusted database infrastructure. The flaw relies on the specific, optional TLS revocation-checking feature being active but failing to perform the verification as expected.

Do I need to worry about this CVE if my database is internal?

Halo Surface Signal indicates this vulnerability is unlikely to be broadly exposed because it resides in a client-side library rather than a public-facing service. Even if your database is internal, you should assess whether any applications using the driver might connect to untrusted network endpoints. If your environment is strictly controlled and only communicates with known, verified internal infrastructure, the risk is significantly lower.

How should I respond to this threat?

Start by identifying all Python applications in your environment that utilize the MongoDB Python Driver. Verify whether these applications have optional TLS revocation checking enabled, as this is the specific configuration affected. Once identified, evaluate the network paths these applications traverse to determine if they could potentially reach an untrusted or malicious endpoint, and prioritize updates or configuration changes accordingly.

References