What’s Vulnerable › Vulnerabilities
CVE-2026-82058: Unhandled Exception in MongoDB Server JSON Schema Validation Error Generation Leads to Denial of Service
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-08 · updated 2026-09-16
- Weakness: CWE-248
Description
A flaw in MongoDB's JSON Schema validation error generation code allows an authenticated user with readWrite privileges to crash the mongod server. When a BSON document containing an array with a malformed numeric field name fails a $jsonSchema items type constraint, the error generation path performs unsafe numeric conversion on the user-controlled field name without proper exception handling, resulting in an uncaught exception that terminates the server process. This is possible because incoming wire protocol BSON validation does not enforce that array element field names are valid, in-range numeric indices.
Affected products
- MongoDB: from 7.0.0 before 7.0.41; from 8.0.0 before 8.0.30; from 8.3.0 before 8.3.9 — fixed in 7.0.41, 8.0.30, 8.3.9
How to fix
Upgrade to a fixed version: MongoDB 7.0.41, 8.0.30, 8.3.9. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-82058 or the next vulnerability affects your stack