CVE-2026-126823 Code injection in Atlas SQL JDBC Driver

High 7.3 Published Updated

A local user can plant a native library that the Atlas SQL JDBC driver loads, running code in applications using it.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Harmful if only installed
No
Needs a specific call
No
Fix
None listed

What is CVE-2026-126823?

CVE-2026-126823 is a high-severity code injection vulnerability in MongoDB Atlas SQL JDBC Driver, published on 12 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A local user with an ordinary account on the same host can place a file in a shared temporary location that the JDBC driver's native library loading routine will accept and load without verifying its origin. Loading the driver class in a Java application may then run code of that user's choosing inside the application process, which may result in disclosure or alteration of data held by that process or in the process becoming unavailable.

Weakness: CWE-377

Which versions are affected by CVE-2026-126823?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-126823?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-126823 being exploited?

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

Sources

Also known as GHSA-g89g-c56j-rgc2.

Is CVE-2026-126823 in your software?

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

Check your SBOMs for free