Incorrect authorization in AWS credential selection in the C Driver
Summary
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 credent...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBC Driver |
≥ 1.18.0, < 1.30.17→ 1.30.17 ≥ 2.0.0, < 2.5.10→ 2.5.10 |
1.30.17 2.5.10 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-135222 mongo-c-driver No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-135222 mongo-c-driver No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web cna@mongodb.com