CVE-2026-135222

Incorrect authorization in AWS credential selection in the C Driver

Low published · updated

2.0
CVSS score out of 10 · NVD (mongodb.com)

Description

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
c driver mongodb 1.18.0 → <1.30.17; 2.0.0 → <2.5.102.5.10 CVE.org

References