# CVE-2026-125118 — Automattic mongoose

> As of 2026-11-09, CVE-2026-125118 is a MEDIUM-severity vulnerability in Automattic mongoose, CVSS v3.1 6.5, EPSS 0.4% (34.5th percentile). No Threadlinqs-tracked threat campaign has been attributed to CVE-2026-125118 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-125118?

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.

The record classifies CVE-2026-125118 under weakness class [CWE-1321](https://intel.threadlinqs.com/cwe/CWE-1321). 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:** 6.5 — MEDIUM (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`)
- **EPSS (FIRST):** 0.4% probability of exploitation in the next 30 days, higher than 34.5% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 4.6/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-11-09

## Is CVE-2026-125118 being exploited?

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

## Affected products and versions

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

Affected software packages:

- `npm:mongoose` — patched in 6.13.12
- `npm:mongoose` — patched in 7.8.13
- `npm:mongoose` — patched in 8.24.7
- `npm:mongoose` — patched in 9.11.4

## How to fix CVE-2026-125118

Fixed versions are recorded for 4 packages: npm:mongoose 6.13.12, npm:mongoose 7.8.13, npm:mongoose 8.24.7, npm:mongoose 9.11.4. No vendor patch reference has been recorded for CVE-2026-125118 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-125118

No threat campaign in the Threadlinqs corpus currently references CVE-2026-125118, 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, GitHub Security Advisories. 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-6972-9mcm-vhwj)

**Other references**

- [github.com](https://github.com/Automattic/mongoose/commit/318f7e09dd363a1dfddb8180878488dccd2796d1)
- [github.com (74df7769b5a8d89c4413b764029911ee915ea467)](https://github.com/Automattic/mongoose/commit/74df7769b5a8d89c4413b764029911ee915ea467)
- [github.com (7a2a6567abbb72c0430c8cc5b7942141844fecff)](https://github.com/Automattic/mongoose/commit/7a2a6567abbb72c0430c8cc5b7942141844fecff)
- [github.com (fb467e6d33174293dc0360649f20ce68d99117a9)](https://github.com/Automattic/mongoose/commit/fb467e6d33174293dc0360649f20ce68d99117a9)
- [github.com (6.13)](https://github.com/Automattic/mongoose/releases/tag/6.13.12)

_Showing 6 of 9 recorded references._

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-125118
No Threadlinqs detection currently covers CVE-2026-125118; 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
