CWE
20
Advisory Published
Advisory Published
Updated

CVE-2019-17426: Input Validation

First published: Thu Oct 10 2019(Updated: )

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).

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
npm/mongoose<4.13.21
4.13.21
npm/mongoose>=5.0.0<5.7.5
5.7.5
Mongoose<=5.7.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2019-17426?

    CVE-2019-17426 is classified as a medium severity vulnerability due to its potential to allow unauthorized access in certain applications.

  • How do I fix CVE-2019-17426?

    To fix CVE-2019-17426, upgrade Mongoose to version 5.7.5 or later, or to version 4.13.21.

  • What software is affected by CVE-2019-17426?

    CVE-2019-17426 affects Mongoose versions up to and including 5.7.4.

  • What are the implications of CVE-2019-17426?

    CVE-2019-17426 allows attackers to bypass access control measures by manipulating query filters using specific attributes.

  • Is CVE-2019-17426 fixed in later versions of Mongoose?

    Yes, CVE-2019-17426 is fixed in Mongoose version 5.7.5 and version 4.13.21.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203