CVE-2026-125116
Last modified
CVE-2026-125116 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose uses attacker-controlled discriminator key values, including the default __t field, to index plain-object registries such as Model.discriminators and schema.discriminators without requiring an own property. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
Description
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose uses attacker-controlled discriminator key values, including the default __t field, to index plain-object registries such as Model.discriminators and schema.discriminators without requiring an own property. Values such as constructor, toString, or hasOwnProperty can therefore resolve to inherited built-in functions instead of a registered discriminator, causing type confusion in model construction, document creation, hydration, query and update casting, embedded discriminators, and populate operations. In the bulkWrite() insertOne path with skipValidation enabled, a constructor value can cause a raw input object to be stored without schema casting or strict filtering, and a stored poisoned document can make every query that hydrates it fail until the document is removed. The weakness reads inherited properties but does not modify Object.prototype and is not prototype pollution. This issue is fixed in versions 6.13.12, 7.8.13, 8.24.7, and 9.11.4.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Automattic | mongoose | < 6.13.12; >= 7.0.0, < 7.8.13; >= 8.0.0, < 8.24.7; >= 9.0.0, < 9.11.4 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-125116?
How severe is CVE-2026-125116?
How do I fix CVE-2026-125116?
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-125110Rack is a modular Ruby web server interface. Prior to 2.2.25…5.3
- CVE-2026-125111Rack is a modular Ruby web server interface. Prior to 2.2.25…7.5
- CVE-2026-125112djust provides Phoenix LiveView-style reactive server-side r…2.3
- CVE-2026-125113The XRootD project provides a high-performance, fault-tolera…5.3
- CVE-2026-125114Novu provides an API for sending notifications through multi…8.3
- CVE-2026-125115Novu provides an API for sending notifications through multi…6.8
- CVE-2026-125117Mongoose is a MongoDB object modeling tool designed to work …8.2
- CVE-2026-125118Mongoose is a MongoDB object modeling tool designed to work …6.5
- CVE-2026-125119Mongoose is a MongoDB object modeling tool designed to work …7.5
- CVE-2026-12512The Quotes llama WordPress plugin before 3.1.6 does not prop…8.6
- CVE-2026-125120Mongoose is a MongoDB object modeling tool designed to work …9.8
- CVE-2026-125121compose-lint is a Docker Compose security linter that identi…5.3
Are you affected by CVE-2026-125116?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
