{"id":"CVE-2019-17426","published":"2019-10-10T00:35:17Z","modified":"2024-08-05T01:40:15Z","title":"Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query…","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01497,"percentile":0.74837,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/Automattic/mongoose/issues/8222","tags":["x_refsource_MISC"]},{"url":"https://github.com/Automattic/mongoose/commit/f3eca5b94d822225c04e96cbeed9f095afb3c31c","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":14.97}]},"affected":[{"ecosystem":"npm","package":"mongoose","vulnerableRanges":[">=5.0.0, <5.7.5","<4.13.21"],"patched":["5.7.5","4.13.21"],"from":["GHSA-8687-vv9j-hgph"],"provenance":"source"}],"summary":{"text":"The flaw is in Automattic Mongoose through version 5.7.4, where query objects carrying a _bsontype attribute are ignored, a special case inherited from older versions of the bson parser (mongodb/js-bson) that Mongoose fails to work around. An attacker who can supply a query object to an application built on Mongoose can, in some applications, bypass access control by adding a _bsontype attribute (for example \"_bsontype\":\"a\"), which can interfere with the query filter.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:21Z"},"euvd":{"id":"EUVD-2019-0693","exploited":false,"provenance":"source"}}