CVE-2026-135222: MongoDB C Driver

Low severity, CVSS 3.3. EPSS: 0.3% probability of exploitation activity in the next 30 days.

MongoDB C Driver contains an incorrect authorization weakness in the credential-selection logic used by its AWS authentication mechanism. A process-wide credential cache can take precedence over the credentials supplied for an individual connection, so a connection configured with one set of credentials may instead be authenticated under an identity cached earlier in the same process. A party able to cause the application process to open an additional connection may thereby obtain unintended privileges.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • MongoDB C Driver, from 1.18.0, before 1.30.17: fixed in 1.30.17
  • MongoDB C Driver, from 2.0.0, before 2.5.10: fixed in 2.5.10

Affected products

  • MongoDB C Driver: from 1.18.0, before 1.30.17 (fixed in 1.30.17); from 2.0.0, before 2.5.10 (fixed in 2.5.10)

Published 2026-11-25. Last modified 2026-11-25.