CVE-2026-135222
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-135222 NameCVE-2026-135222 DescriptionMongoDB 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…
CVE-2026-135222
| Name | CVE-2026-135222 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1155529 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| mongo-c-driver (PTS) | bookworm | 1.23.1-1+deb12u3 | vulnerable |
| trixie | 1.30.4-1+deb13u5 | vulnerable | |
| forky, sid | 2.5.9-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| mongo-c-driver | source | (unstable) | (unfixed) | 1155529 |
Notes
[trixie] - mongo-c-driver <no-dsa> (Minor issue)
https://jira.mongodb.org/browse/CDRIVER-6511
Fixed by: https://github.com/mongodb/mongo-c-driver/commit/fbfa4696ffd75c5c736f18ad9b55a270e1d19d7d (2.5.10)
Fixed by: https://github.com/mongodb/mongo-c-driver/commit/a50cee990026d4b9cf961e60f8642331868b6190 (1.30.17)
Apply commands
[trixie] - mongo-c-driver <no-dsa> (Minor issue)https://jira.mongodb.org/browse/CDRIVER-6511Fixed by: https://github.com/mongodb/mongo-c-driver/commit/fbfa4696ffd75c5c736f18ad9b55a270e1d19d7d (2.5.10)Fixed by: https://github.com/mongodb/mongo-c-driver/commit/a50cee990026d4b9cf961e60f8642331868b6190 (1.30.17)
OS impact
Debian Affected 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | mongo-c-driver |
Affected | — |
| sid | mongo-c-driver |
Affected | — |
| forky | mongo-c-driver |
Affected | — |
| bookworm | mongo-c-driver |
Affected | — |
References
CWEs
CWE-863
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.