Security mailing lists by PureSourceCode

CVE-2019-17426

CRITICAL 9.1CVSS 3.1

Improper Input Validation in Automattic Mongoose

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
10 Oct 2019
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-8687-vv9j-hgph
Sources
NVDJSONOSV GHSA-8687-vv9j-hgphJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.4 AV:N/AC:L/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongoosejs mongoose
cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*
<= 5.7.4
OSV npm mongoose >= 5.0.0, < 5.7.5 5.7.5
OSV npm mongoose < 4.13.21 4.13.21

References

History

  • 25 Nov 2026 20:30 UTC · NVD: first stored (published 10 Oct 2019)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 22 Oct 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.