# CVE-2026-135222: Incorrect authorization in AWS credential selection in the C Driver

- Severity: Low 2.0 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-11-25T16:26:13.747Z
- Modified: 2026-11-25T17:17:44.367Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB C Driver: from 1.18.0 before 1.30.17; from 2.0.0 before 2.5.10

## Every score

- mongodb: CVSS:4.0 2.0 Low `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://jira.mongodb.org/browse/CDRIVER-6511>

## Sources

- CVE List: [CVE-2026-135222](https://www.cve.org/CVERecord?id=CVE-2026-135222), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-135222](https://nvd.nist.gov/vuln/detail/CVE-2026-135222), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-135222 · Whole record: https://cve.day/CVE-2026-135222.json · Rebuilt by cve.day 2026-11-25T23:18:10.417Z
