CVE-2019-17426: mongoosejs mongoose
Vulnerability summary
CVE-2019-17426 is a critical (CVSS 9.1) vulnerability in mongoosejs mongoose. EPSS estimates a 1.50% chance of exploitation in the next 30 days, higher than 73.8% of scored vulnerabilities.
Timeline
- 10-10-2019PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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).
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · NpmEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
1.50%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
-0.16 pp
From 1.66% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Mongoosejs1 product
- mongoose≤ 5.7.4
Npm1 product
- mongoose≥ 5.0.0, < 5.7.5 | < 4.13.21
2 vendors · 2 products
References
7 links- github.com/Automattic/mongoose/commit/f3eca5b94d822225c04e96cbeed9f095afb3c31cX Refsource MISCWEBPatch