CVE-2025-23061CRITICAL 9.8EPSS p93.4%

CVE-2025-23061CVE-2025-23061

Description

Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection. NOTE: this issue exists because of an incomplete fix for CVE-2024-53900.

Scoring

CVSS 3.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS7.03% probability of exploitation · percentile 93.4% · 2026-06-18T12:00:27Z
Published2025-01-15
Last modified2025-10-31

Underlying weaknesses· 1

CWE-94

References

  1. https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md
  2. https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc
  3. https://github.com/Automattic/mongoose/releases/tag/8.9.5
  4. https://www.npmjs.com/package/mongoose?activeTab=versions

1

TypeTargetConfidenceTier
WeaknessImproper Control of Generation of Code ('Code Injection')cwe-940%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-9750
CVE
CVE-2025-1692
CVE
CVE-2026-41717
CVE
CVE-2026-41696
CVE
CVE-2025-23176
CVE
MongoDB mongo-express Remote Code Execution Vulnerability
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.