# CVE-2026-125116 — Automattic mongoose

> As of 2026-11-09, CVE-2026-125116 is a MEDIUM-severity vulnerability in Automattic mongoose, CVSS v3.1 4.8, EPSS 0.3% (27.5th percentile). No Threadlinqs-tracked threat campaign has been attributed to CVE-2026-125116 as of 2026-11-09; the identifier is re-checked against the Threadlinqs threat corpus on every daily ingest.

**Last updated:** 2026-11-09

## What is CVE-2026-125116?

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.

The record classifies CVE-2026-125116 under weakness class [CWE-843](https://intel.threadlinqs.com/cwe/CWE-843). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 7 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 4.8 — MEDIUM (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L`)
- **EPSS (FIRST):** 0.3% probability of exploitation in the next 30 days, higher than 27.5% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 3.5/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-11-09

## Is CVE-2026-125116 being exploited?

It currently carries a trending score of 36 in the Threadlinqs vulnerability feed.

## Affected products and versions

- [Automattic](https://intel.threadlinqs.com/vendors/automattic): mongoose

## How to fix CVE-2026-125116

No vendor patch reference has been recorded for CVE-2026-125116 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2026-125116

No threat campaign in the Threadlinqs corpus currently references CVE-2026-125116, in its CVE list or as an indicator. The linkage is recomputed from the live corpus on every daily ingest, so this section fills in as soon as a tracked campaign cites the identifier.

## Sources

Enriched from CVE.org, NVD, FIRST EPSS. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vendor advisory and patch**

- [github.com](https://github.com/Automattic/mongoose/security/advisories/GHSA-wr5m-5jph-8m96)

**Other references**

- [github.com](https://github.com/Automattic/mongoose/commit/0ecd8040d9b446f36535d79938c130c800f91766)
- [github.com (18afab75bea861f625b7c5b54635c84567ec566c)](https://github.com/Automattic/mongoose/commit/18afab75bea861f625b7c5b54635c84567ec566c)
- [github.com (390453c8ce1b36b6cfd1e63432a910da1f3d81d5)](https://github.com/Automattic/mongoose/commit/390453c8ce1b36b6cfd1e63432a910da1f3d81d5)
- [github.com (8cee51beead554df1f3d05645edb439c69eb2a9b)](https://github.com/Automattic/mongoose/commit/8cee51beead554df1f3d05645edb439c69eb2a9b)
- [github.com (b26c43554233134ea978c5852babe13be858b2cf)](https://github.com/Automattic/mongoose/commit/b26c43554233134ea978c5852babe13be858b2cf)

_Showing 6 of 11 recorded references._

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-125116
No Threadlinqs detection currently covers CVE-2026-125116; it is re-checked on every ingest.
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents needs Purple: https://intel.threadlinqs.com/mcp
