p PatchFirst

CVE-2026-129934

CVE-2026-129934 · Credential exposure via unmasked option values in Go driver connection string parse errors

CVSS 5.7 · Medium · EPSS 0.1% · 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=="golang-mongodb-mongo-driver"'

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.

The MongoDB Go driver's connection string parser includes the raw, undecoded value of a query option in the error it returns when that value contains invalid percent encodings. When the option holds a secret, such as a TLS key file password or an AWS session token, the secret appears in plain text in the error. A party with low-privileged read access to wherever the application records or displays that error may learn the secret.

Published
Updated

Stack: system

Affected products and versions

  • go driver

    Versions
    • ≥ 1.0.0: Affected (semver)

    No fix published

  • go driver

    Versions
    • ≥ 2.0.0, < 2.10.1: Affected (semver)

    Update to 2.10.1

  • golang-mongodb-mongo-driver Debian 12

    Versions
    • 1.12.1+ds1-1
    • 1.12.1+ds1-2
    • 1.16.1+ds1-1
    • 1.17.0+ds1-1
    • 1.17.1+ds1-1
    • 1.17.1+ds1-2
    All versions (9)
    • 1.17.1+ds1-3
    • 1.17.9+ds1-1
    • 1.8.4+ds1-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-mongodb-mongo-driver Debian 13

    Versions
    • 1.17.1+ds1-2
    • 1.17.1+ds1-3
    • 1.17.9+ds1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-mongodb-mongo-driver Debian 14

    Versions
    • 1.17.1+ds1-2
    • 1.17.1+ds1-3
    • 1.17.9+ds1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-mongodb-mongo-driver Ubuntu 24.04 LTS

    Versions
    • 1.8.4+ds1-1ubuntu1
    • 1.12.1+ds1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-mongodb-mongo-driver Ubuntu 26.10

    Versions
    • 1.17.1+ds1-2
    • 1.17.9+ds1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-mongodb-mongo-driver Ubuntu 26.04 LTS

    Versions
    • 1.17.1+ds1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →