GHSA-wr5m-5jph-8m96Published
Mongoose: Discriminator key values matching inherited properties (e.g. __t: 'constructor') bypass schema casting and can poison collections
Historical advisory saved 10 Nov 2026 21:21:46 UTC. The publisher may have updated it since then. Latest advisory.
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-125116 · CVE overview and exploitation status
osv · GHSA-wr5m-5jph-8m96
- https://github.com/Automattic/mongoose/security/advisories/GHSA-wr5m-5jph-8m96
- https://nvd.nist.gov/vuln/detail/CVE-2026-125116
- https://github.com/Automattic/mongoose/commit/0ecd8040d9b446f36535d79938c130c800f91766
- https://github.com/Automattic/mongoose/commit/18afab75bea861f625b7c5b54635c84567ec566c
- https://github.com/Automattic/mongoose/commit/390453c8ce1b36b6cfd1e63432a910da1f3d81d5
- https://github.com/Automattic/mongoose/commit/8cee51beead554df1f3d05645edb439c69eb2a9b
- https://github.com/Automattic/mongoose/commit/b26c43554233134ea978c5852babe13be858b2cf
- https://github.com/Automattic/mongoose/commit/b68f90734b50cd22c89a669c8ca1469d7234b296
- https://github.com/Automattic/mongoose
- https://github.com/Automattic/mongoose/releases/tag/6.13.12
- https://github.com/Automattic/mongoose/releases/tag/7.8.13
- https://github.com/Automattic/mongoose/releases/tag/8.24.7
- https://github.com/Automattic/mongoose/releases/tag/9.11.4
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.