CVE-2026-82058 in Mongodb
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mongodb | Mongodb | ≥ 7.0.0, < 7.0.41 ≥ 8.0.0, < 8.0.30 ≥ 8.3.0, < 8.3.9 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-82058 |
|---|---|
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-09-08 |
| Last modified | 2026-09-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-248: CWE-248
Analysis AI-written, not human-reviewed
A medium severity vulnerability (CVE-2026-82058) affects the target system. 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...
Questions
What is CVE-2026-82058?
A medium severity vulnerability (CVE-2026-82058) affects the target system. 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...
What is the CVSS score for CVE-2026-82058?
CVE-2026-82058 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.4%.
Is CVE-2026-82058 actively exploited?
No confirmed active exploitation of CVE-2026-82058 as of 2026-09-25.
How do I remediate CVE-2026-82058?
Advisory: https://jira.mongodb.org/browse/SERVER-130926
What systems are affected by CVE-2026-82058?
CVE-2026-82058 affects Mongodb Mongodb.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mongodb","product":"Mongodb","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-16.