CVE-2026-125116

MEDIUM
MEDIUM Priority: 0.02 BB Relevance: 60/100
Published: 2026-11-09 Modified: 2026-11-13 First seen: 2026-11-09 Status: active

Attack Surface

Network No Auth No Interaction

CVSS Vector Breakdown

AV: Network
AC: High
PR: None
UI: None
S: Unchanged
C: None
I: Low
A: Low

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.

Affected Software (8)

VendorProductVersion
Automattic mongoose < 6.13.12
Automattic mongoose >= 7.0.0, < 7.8.13
Automattic mongoose >= 8.0.0, < 8.24.7
Automattic mongoose >= 9.0.0, < 9.11.4
Automattic mongoose < 6.13.12
Automattic mongoose >= 7.0.0, < 7.8.13
Automattic mongoose >= 8.0.0, < 8.24.7
Automattic mongoose >= 9.0.0, < 9.11.4

Bug Bounty Relevance

60 / 100
✓ Network accessible
✓ No authentication
✓ No user interaction

CVSS Score

4.8 / 10.0 v3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

EPSS — Exploitation Probability

0.34%
Raw Score 0.003390
Percentile 27.7%
Date 2026-11-13

EPSS Trend

2026-11-13
0.00339
2026-11-12
0.00339
2026-11-10
0.00339

Intelligence Sources

mitre ref →
nvd ref →