Fix mongoose — CVE-2024-25466 HIGH

Fix CVE-2024-25466 (HIGH) in mongoose for npm. Paste your package.json into PackageFix and get a patched version — no CLI, no signup. Prototype pollution via merge operations.

⚠ Vulnerability

CVE-2024-25466 (HIGH) — prototype pollution via merge operations in mongoose versions below 8.2.4.

Vulnerable Version — package.json

"mongoose": "7.6.0"

Fixed Version — package.json

"mongoose": "8.2.4"
✓ Fix

Update mongoose to 8.2.4 or later. Run npm install to apply. Verify with your ecosystem's audit tool after updating.

Paste your manifest — get back a fixed version with all CVEs patched in seconds.

Open PackageFix →

No signup · No CLI · No GitHub connection · Runs 100% in your browser

CVE Details

FieldValue
CVE IDCVE-2024-25466
SeverityHIGH
Packagemongoose (npm)
Vulnerable versionsBelow 8.2.4
Safe version8.2.4
CISA KEV
DescriptionPrototype pollution via merge operations

Frequently Asked Questions

What is CVE-2024-25466?
CVE-2024-25466 is a HIGH severity vulnerability in mongoose (npm). It allows prototype pollution via merge operations. Update to version 8.2.4 or later to fix it.
How do I fix CVE-2024-25466 in mongoose?
Update mongoose to version 8.2.4 in your package.json. Run npm install after updating to apply the fix.
Is CVE-2024-25466 being actively exploited?
Check the live CISA KEV catalog at packagefix.dev — PackageFix always reflects the current KEV status.
How do I check if I am affected by CVE-2024-25466?
Paste your package.json into PackageFix. If your installed version of mongoose is below 8.2.4, you are affected. PackageFix shows the exact CVE ID and fix version.
What search queries does this page target?
This page covers: mongoose CVE, mongoose vulnerability, mongoose prototype pollution.

Related Guides