Incorrect authorization in MongoDB C Driver AWS credential selection
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-863.
Summary
MongoDB C Driver from 1.18.0 before 1.30.17 and from 2.0.0 before 2.5.10 contains an incorrect authorization weakness (CWE-863) in its AWS authentication credential selection. A process-wide credential cache can take precedence over the credentials supplied for an individual connection, so a connection may authenticate under an identity cached earlier in the same process. An attacker able to cause the application to open an additional connection may obtain unintended privileges. The attack requires local access with low privileges.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade MongoDB C Driver to version 1.30.17 or 2.5.10. The sources list no advisory identifier for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA C Driver (MongoDB) Fixed in 1.30.17, 2.5.10
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
MongoDB C Driver 1.30.17, 2.5.10
3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW
Other records, highest priority first
- TI-2026-98311 Improper OCSP responder authorization validation in MongoDB C DriverPriority MEDIUM 48
- TI-2026-98308 NULL pointer dereference when parsing server hello replies in the C DriverPriority LOW 36
Timeline
- 2026-11-25 Threatist record created from CVE-2026-135222
- 2026-11-25 CISA SSVC decision points changed
References
More MongoDB vulnerabilities
- TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
- TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences