p PatchFirst

CVE-2026-135146

CVE-2026-135146 · Improper certificate revocation check for stapled OCSP responses in the Python Driver

CVSS 9.1 · Critical · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="pymongo"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

An improper certificate revocation check in the MongoDB Python Driver's optional TLS revocation-checking support allows an unauthenticated party that operates the network endpoint a client connects to, and that holds a revoked but still-dated certificate trusted by that client, to have the connection accepted. This may result in unintended disclosure of application credentials and other session data, and in the client treating responses from that endpoint as genuine.

Published
Updated

Stack: system

Affected products and versions

  • python driver

    Versions
    • ≥ 3.11.0, < 4.20.2: Affected (semver)

    Update to 4.20.2

  • pymongo Debian 12

    Versions
    • 3.11.0-1
    • 3.11.0-1+deb12u1
    • 3.11.0-1+deb12u2
    • 4.10.1-1
    • 4.10.1-2
    • 4.10.1-3
    All versions (23)
    • 4.10.1-4
    • 4.10.1-5
    • 4.10.1-6
    • 4.15.3-1
    • 4.15.3-2
    • 4.15.4-1
    • 4.15.4-2
    • 4.15.5-1
    • 4.16.0-1
    • 4.17.0-1
    • 4.18.1-1
    • 4.18.2-1
    • 4.19.0-1
    • 4.19.0-2
    • 4.20.1-1
    • 4.7.3-1
    • 4.7.3-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Debian 13

    Versions
    • 4.10.1-6
    • 4.15.3-1
    • 4.15.3-2
    • 4.15.4-1
    • 4.15.4-2
    • 4.15.5-1
    All versions (13)
    • 4.16.0-1
    • 4.17.0-1
    • 4.18.1-1
    • 4.18.2-1
    • 4.19.0-1
    • 4.19.0-2
    • 4.20.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Debian 14

    Versions
    • 4.10.1-6
    • 4.15.3-1
    • 4.15.3-2
    • 4.15.4-1
    • 4.15.4-2
    • 4.15.5-1
    All versions (13)
    • 4.16.0-1
    • 4.17.0-1
    • 4.18.1-1
    • 4.18.2-1
    • 4.19.0-1
    • 4.19.0-2
    • 4.20.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu 14.04 LTS

    Versions
    • 2.6-1
    • 2.6.2-1
    • 2.6.3-1
    • 2.6.3-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu Pro 16.04 LTS

    Versions
    • 3.0.3-1
    • 3.2-1
    • 3.2-1build1
    • 3.2-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu Pro 18.04 LTS

    Versions
    • 3.4.0-1build2
    • 3.6.1+dfsg1-1
    • 3.6.1+dfsg1-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu 20.04 LTS

    Versions
    • 3.7.1-1.1
    • 3.7.1-1.1build1
    • 3.10.1-0ubuntu2
    • 3.10.1-0ubuntu2.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu 22.04 LTS

    Versions
    • 3.11.0-1build2
    • 3.11.0-1build3
    • 3.11.0-1build4
    • 3.11.0-1ubuntu0.22.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu 24.04 LTS

    Versions
    • 3.11.0-1build6
    • 3.11.0-1build7
    • 3.11.0-1build8
    • 3.11.0-1ubuntu0.24.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu 26.10

    Versions
    • 4.16.0-1build1
    • 4.17.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu 26.04 LTS

    Versions
    • 4.10.1-6
    • 4.15.3-1
    • 4.15.3-2
    • 4.15.5-1
    • 4.16.0-1
    • 4.16.0-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →