This weekExploitable · Confirmed
mongoose: Mongoose: Discriminator key values matching inherited properties (e.g. __t: 'constructor') bypass schema casting and can poison c…
There is evidence it can be used, or an emergency alert, without the proof that makes it urgent.
Does it affect what I run?
mongoose (npm)
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- mongoose (npm): every version, before 6.13.12
- mongoose (npm): from 7.0.0, before 7.8.13
- mongoose (npm): from 8.0.0, before 8.24.7
- mongoose (npm): from 9.0.0, before 9.11.4
The fix
mongoose (npm) fixed in 6.13.12
npmnpm install mongoose@6.13.12pnpmpnpm add mongoose@6.13.12yarnyarn add mongoose@6.13.12bunbun add mongoose@6.13.12Check what is installednpm ls mongoosePaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mongoose to 6.13.12 or the nearest later release, to fix CVE-2026-125116. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.mongoose (npm) fixed in 7.8.13
npmnpm install mongoose@7.8.13pnpmpnpm add mongoose@7.8.13yarnyarn add mongoose@7.8.13bunbun add mongoose@7.8.13Check what is installednpm ls mongoosePaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mongoose to 7.8.13 or the nearest later release, to fix CVE-2026-125116. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.mongoose (npm) fixed in 8.24.7
npmnpm install mongoose@8.24.7pnpmpnpm add mongoose@8.24.7yarnyarn add mongoose@8.24.7bunbun add mongoose@8.24.7Check what is installednpm ls mongoosePaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mongoose to 8.24.7 or the nearest later release, to fix CVE-2026-125116. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.mongoose (npm) fixed in 9.11.4
npmnpm install mongoose@9.11.4pnpmpnpm add mongoose@9.11.4yarnyarn add mongoose@9.11.4bunbun add mongoose@9.11.4Check what is installednpm ls mongoosePaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mongoose to 9.11.4 or the nearest later release, to fix CVE-2026-125116. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
Exploitable · Confirmed
CISA's assessment in the CVE record says a proof of concept is public.
CISA Vulnrichment (SSVC and KEV fields inside CVE records)Stated
Timeline
- First published here, as "For your digest".
- Level changed from "For your digest" to "This week".
- Evidence added: CISA's assessment in the CVE record says a proof of concept is public. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))