Read the docs
TI-2019-13012 Aliases CVE-2019-17426GHSA-8687-vv9j-hgph

Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some…

Priority MEDIUM 42CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query object with a _bsontype attribute is ignored. For example, adding "_bsontype":"a" can sometimes interfere with a query filter. NOTE: this CVE is about Mongoose's failure to work around this _bsontype special case that exists in older versions of the bson parser (aka the mongodb/js-bson project).

Why it matters now

EPSS 0.01497 74th percentileScored 2026-11-07
Fix Fixed mongoose (npm): 5.7.5, 4.13.21

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—mongoose (npm)5.0.0 to before 5.7.55.7.5Patch availableGHSA-8687-vv9j-hgph
—mongoose (npm)before 4.13.214.13.21Patch availableGHSA-8687-vv9j-hgph
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • mongoose (npm) Vendor— Affected 5.0.0 to before 5.7.5 Fixed in 5.7.5 Patch available GHSA-8687-vv9j-hgph
  • mongoose (npm) Vendor— Affected before 4.13.21 Fixed in 4.13.21 Patch available GHSA-8687-vv9j-hgph

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*up to 5.7.4Vulnerablemongoosejs
  • cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:* Versions up to 5.7.4 Vulnerable ·mongoosejs

Remediation

  • Fix · GHSA-8687-vv9j-hgph mongoose (npm) Fixed in 5.7.5 Advisory →
  • Fix · GHSA-8687-vv9j-hgph mongoose (npm) Fixed in 4.13.21 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-17426
  2. 2026-10-03 Alias added: GHSA-8687-vv9j-hgph

References

  • TI-2023-03453 Prototype Pollution in automattic/mongoose CVSS 3.1CRITICAL 9.8
  • TI-2022-02368 Prototype Pollution in automattic/mongoose CVSS 3.1CRITICAL 9.8
  • TI-2024-36076 Mongoose before 8.8.3 can improperly use $where in match, leading to search injection. CVSS 3.1CRITICAL 9.1
  • TI-2025-16870 Code injection in mongoosejs Mongoose CVSS 3.1CRITICAL 9.8
  • TI-2026-30638 Mongoose: Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL Injection CVSS 3.1HIGH 7.5

Sources