CVE-2025-10491 MongoDB Windows installation MSI may leave ACLs unset on custom installation directories

High 7.8 Published Updated

Local attackers can execute arbitrary code via DLL hijacking if custom installation directories lack proper ACLs, requiring an upgrade to secure MongoDB Server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-10491?

CVE-2025-10491 is a high-severity vulnerability in MongoDB Server, published on 15 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The MongoDB Windows installation MSI may leave ACLs unset on custom installation directories allowing a local attacker to introduce executable code to MongoDB's process via DLL hijacking. This issue affects MongoDB Server v6.0 version prior to 6.0.25, MongoDB Server v7.0 version prior to 7.0.21 and MongoDB Server v8.0 version prior to 8.0.5

Weakness: CWE-284

Which versions are affected by CVE-2025-10491?

How do I fix CVE-2025-10491?

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

Is CVE-2025-10491 being exploited?

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

Sources

Also known as GHSA-2mmf-p5r8-wc5g.

Is CVE-2025-10491 in your software?

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

Check your SBOMs for free