Read the docs

Incorrect authorization in MongoDB C Driver AWS credential selection

Priority LOW 10CWE-863Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00253 10th percentileScored 2026-11-30
Fix Fixed C Driver (MongoDB): 1.30.17, 2.5.10

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

VendorProductAffected versionsFixed inStatusSource
MongoDBC Driver1.18.0 to before 1.30.17; 2.0.0 to before 2.5.101.30.17, 2.5.10Patch availableCNA
  • C Driver VendorMongoDB Affected 1.18.0 to before 1.30.17; 2.0.0 to before 2.5.10 Fixed in 1.30.17, 2.5.10 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:*——MongoDB
  • cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:* Versions — — ·MongoDB

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

  1. 2026-11-25 Threatist record created from CVE-2026-135222
  2. 2026-11-25 CISA SSVC decision points changed

References

  • 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
See all 449 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences