CVE-2026-135222

published 25 Nov 2026 · updated 25 Nov 2026

Incorrect authorization in AWS credential selection in the C Driver

3.3LowCVSS 3.3

No exploitation in the wild has been reported. Fixed in C Driver 1.30.17 and C Driver 2.5.10.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBC Driver>=1.18.0 <1.30.17, >=2.0.0 <2.5.101.30.17, 2.5.10

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-135222 severity on Zeptric[![CVE-2026-135222](https://zeptric.io/badge/cve/CVE-2026-135222.svg)](https://zeptric.io/cve/CVE-2026-135222)