CVE-2019-17426
CVE-2019-17426 is a critical-severity vulnerability in Mongoosejs Mongoose with a CVSS 3.x base score of 9.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.
Key facts
- Severity: Critical (CVSS 3.x base score 9.1)
- CVSS v2: 6.4
- EPSS exploit prediction: 2% (74th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Mongoosejs Mongoose
- Published:
- Last modified:
Description
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).
Frequently asked questions
- What is CVE-2019-17426?
- 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).
- How severe is CVE-2019-17426?
- CVE-2019-17426 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2019-17426 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (74th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2019-17426?
- CVE-2019-17426 affects Mongoosejs Mongoose. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2019-17426?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2019-17426 published?
- CVE-2019-17426 was published on 2019-10-10 and last updated on 2026-06-17.
References
- https://github.com/Automattic/mongoose/commit/f3eca5b94d822225c04e96cbeed9f095afb3c31c
- https://github.com/Automattic/mongoose/issues/8222
Affected products (1)
- cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*
More vulnerabilities in Mongoosejs Mongoose
- CVE-2023-3696 — Critical (CVSS 9.8): Prototype Pollution in GitHub repository automattic/mongoose prior to 7.3.4.
- CVE-2022-2564 — Critical (CVSS 9.8): Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.
- CVE-2024-53900 — Critical (CVSS 9.1): Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.
- CVE-2025-23061 — Critical (CVSS 9.0): Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection.…
- CVE-2026-42334 — High (CVSS 7.5): Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.9, 7.8.9,…