CVE-2026-125117
Last modified
CVE-2026-125117 is a high-severity vulnerability rated 8.2/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 can descend into inherited properties while loading database documents in init(), setting dotted paths in $__set, and merging update documents in utils.mergeClone. EPSS estimates a 0.58% 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 can descend into inherited properties while loading database documents in init(), setting dotted paths in $__set, and merging update documents in utils.mergeClone. Attacker-controlled keys such as toString or valueOf can therefore cause Mongoose to write into shared built-in functions instead of an own property. A crafted document, Mixed path, non-strict document or subdocument, findOneAndReplace() replacement, chained update, or Query.prototype.merge() source can overwrite Object.prototype.toString.call, causing later queries on unrelated models to fail until the process restarts. Separately, when an attacker controls the dotted path passed to doc.set(path, value) for a subdocument configured with strict: false, descent through $__set can reach $__schema and alter shared validators or schema options for later documents. Mongoose already blocks __proto__, constructor, and prototype, so this issue overwrites properties on reachable shared objects rather than adding new properties directly to Object.prototype. 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
- Received
Frequently Asked Questions
What is CVE-2026-125117?
How severe is CVE-2026-125117?
How do I fix CVE-2026-125117?
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-125103FFmpeg through 9.0.2 contains an information disclosure vuln…3.3
- CVE-2026-125104FFmpeg through 9.0.2 contains a memory exhaustion vulnerabil…5.5
- CVE-2026-125107Muhammara is a node module with c/cpp bindings to modify PDF…7.5
- CVE-2026-125109Rack is a modular Ruby web server interface. From 3.0 until …4.8
- CVE-2026-12511The AI Engine WordPress plugin before 3.5.5 does not saniti…8.1
- CVE-2026-125113The XRootD project provides a high-performance, fault-tolera…5.3
- CVE-2026-12512The Quotes llama WordPress plugin before 3.1.6 does not prop…8.6
- CVE-2026-125121compose-lint is a Docker Compose security linter that identi…5.3
- CVE-2026-125122compose-lint is a Docker Compose security linter that identi…2.3
- CVE-2026-125123compose-lint is a Docker Compose security linter that identi…2.3
- CVE-2026-125124compose-lint is a Docker Compose security linter that identi…2.3
- CVE-2026-125125compose-lint is a Docker Compose security linter that identi…2.3
Are you affected by CVE-2026-125117?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
