CVE-2026-82058
Last modified
CVE-2026-82058 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | MongoDB Server | >= 8.3.0, < 8.3.9; >= 8.0.0, < 8.0.30; >= 7.0.0, < 7.0.41 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-82058?
How severe is CVE-2026-82058?
How do I fix CVE-2026-82058?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-82052The $regexFindAll expression can be used by an authenticated…6.5
- CVE-2026-82053A security issue exists in MongoDB's LDAP authorization inte…8.1
- CVE-2026-82054A security issue exists in MongoDB server's JSON Pointer par…6.5
- CVE-2026-82055A security issue exists in MongoDB's 2dsphere index key gene…6.5
- CVE-2026-82056A race condition in MongoDB server's text index query parsin…5.3
- CVE-2026-82057A security issue was discovered in MongoDB where an authenti…6.5
- CVE-2026-82059An internal aggregation expression in MongoDB Server was inc…5.3
- CVE-2026-8206The Kirki – Freeform Page Builder, Website Builder & Customi…9.8
- CVE-2026-82060In MongoDB, insufficient validation of shard key values duri…5.4
- CVE-2026-82061A use-after-free security issue exists in the server's query…8.1
- CVE-2026-82062A security issue in MongoDB Server allows an authenticated u…5.5
- CVE-2026-82063A use-after-free security issue in the cursor management com…5.3
Are you affected by CVE-2026-82058?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
