{"id":"CVE-2019-17426","aliases":["GHSA-8687-vv9j-hgph"],"url":"https://o3.security/vulnerability/CVE-2019-17426","summary":"Improper Input Validation in Automattic Mongoose","details":"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).","published":"2019-10-10T02:05:46.833Z","modified":"2026-07-08T20:57:42.172902Z","cvss":{"score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},"epss":{"score":0.0166,"percentile":0.74455,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"mongoose","fixedVersion":"5.7.5"},{"ecosystem":"npm","name":"mongoose","fixedVersion":"4.13.21"}],"fix":{"url":"https://github.com/Automattic/mongoose/commit/f3eca5b94d822225c04e96cbeed9f095afb3c31c","label":"Automattic/mongoose@f3eca5b"},"references":[{"type":"ADVISORY","url":"https://github.com/Automattic/mongoose/issues/8222"},{"type":"FIX","url":"https://github.com/Automattic/mongoose/commit/f3eca5b94d822225c04e96cbeed9f095afb3c31c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-17426"},{"type":"WEB","url":"https://github.com/Automattic/mongoose/commit/f88eb2524b65a68ff893c90a03c04f0913c1913e"},{"type":"PACKAGE","url":"https://github.com/Automattic/mongoose"},{"type":"WEB","url":"https://github.com/Automattic/mongoose/commits/4.13.21"},{"type":"WEB","url":"https://github.com/Automattic/mongoose/releases/tag/4.13.21"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T20:57:42.172902Z"}}