CVE-2025-10059

Medium

Description

An improper setting of the lsid field on any sharded query can cause a crash in MongoDB routers. This issue occurs when a generic argument (lsid) is provided in a case when it is not applicable. This affects MongoDB Server v6.0 versions prior to 6.0.x, MongoDB Server v7.0 versions prior to 7.0.18 and MongoDB Server v8.0 versions prior to 8.0.6.

SeverityMedium
CVSS6.5
Exploit probability—
ProductMongodb
PublishedSep 5, 2025
First seenSep 5, 2025
Weakness typeCWE-732CWE-732

How to fix

Update
  • mongodb mongodb6.0.24, 7.0.18, 8.0.6 or later

Affected products

ProductAffected versionsFixed in
mongodb mongodb6.0.0 ≤ v < 6.0.24, 7.0.0 ≤ v < 7.0.18, 8.0.0 ≤ v < 8.0.66.0.24, 7.0.18, 8.0.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.