CVE-2026-125118
Last modified
CVE-2026-125118 is a medium-severity vulnerability rated 6.5/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, Schema.prototype.virtual() builds nested virtual paths without applying the special-property validation already used by Schema.path() and Schema.add(). EPSS estimates a 0.40% 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, Schema.prototype.virtual() builds nested virtual paths without applying the special-property validation already used by Schema.path() and Schema.add(). An attacker who can influence virtual field names in dynamic schemas, content-management form builders, or schema-as-code systems can supply path segments such as __proto__, constructor, or prototype, causing the virtual-path reducer to write enumerable properties to Object.prototype or Function.prototype. The resulting prototype pollution can spoof inherited property checks such as authorization flags and can provide function-prototype gadget state to other server-side JavaScript code. 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-125118?
How severe is CVE-2026-125118?
How do I fix CVE-2026-125118?
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-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-125116Mongoose is a MongoDB object modeling tool designed to work …4.8
- CVE-2026-125117Mongoose is a MongoDB object modeling tool designed to work …8.2
- 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
- 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
Are you affected by CVE-2026-125118?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
