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

Published Updated

A process-wide credential cache can make MongoDB C Driver AWS authentication use a different identity than configured, granting unintended privileges.

CVSS score

Low

2.0/10

CVSS 4.0 · Scored by Mongodb Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Local or same network
Any signed-in user, no user action

What is CVE-2026-135222?

CVE-2026-135222 is a low-severity authentication bypass vulnerability in MongoDB C Driver, published on 25 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-863

How severe is CVE-2026-135222?

CVE-2026-135222 scores 2.0 out of 10 under CVSS 4.0, which is low severity. It was scored by Mongodb.

Attack vector
Local
Attack complexity
Low
Attack requirements
Present
Privileges required
Low
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None

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

Which versions are affected by CVE-2026-135222?

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

How do I fix CVE-2026-135222?

No fix has been published for CVE-2026-135222 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-135222 being exploited?

There is no known exploitation of CVE-2026-135222 in the wild and no public exploit code.

Sources

Also known as UBUNTU-CVE-2026-135222.

Is CVE-2026-135222 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free