Skip to content

Ruby Driver

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

CVE-2026-129924Published 19 Nov 2026, 19:25 UTC

Real-world risk

3.4/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.8

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from mongodb)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Ruby DriverNiche>= 2.0.3, < 2.26.22.26.2

What to do

Update to a fixed version: 2.26.2.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.1% chance of exploitation in 30 days (percentile 4), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.500
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.5 × threat 0.853.400
  4. Rounded to one decimal between 0.1 and 103.4

How the score works

Exploitation and evidence timeline

  1. 19 Nov 2026 Published
  2. 3 Dec 2026 Risk 3.4 (cvss fallback)

Weakness

CWE-209

References

Get alerts for Ruby Driver

Free email or text alerts when a vulnerability in Ruby Driver reaches risk 8 or higher. Nothing else.