cvelo
P3 · MediumCVSS 5.5EPSS 0.1%

Credential exposure via unmasked connection string in driver parse-error messages for the Ruby driver

  • CVE-2026-129924
  • GHSA-gf25-mgjq-4vj3
  • EUVD-2026-130682

Description

The MongoDB Ruby driver can include unmasked connection string content in the error it raises when a connection string cannot be parsed. If that connection string carries a secret, the secret may be disclosed in cleartext through the application's error output or logs. No privileges on the driver and no network access are needed to produce the error; a party able to read the application's error output may obtain the secret.

Text from the CVE.org record.

Recommendation

  • MongoDB Ruby Driver

    • If you run a version from 2.0.3 to before 2.26.2update to 2.26.2 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • MongoDB Ruby Driver

    Affected versionsFixed in
    from 2.0.3 to before 2.26.22.26.2

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.