Bug 2571531 - CVE-2026-125119 flmsg: Mongoose: Security feature bypass via ignored connection-level sanitizeFilter option [fedora-all]
Summary: CVE-2026-125119 flmsg: Mongoose: Security feature bypass via ignored connecti...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: flmsg
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["aeccb45d-89da-444c-b84a-c...
Depends On:
Blocks: CVE-2026-125119
TreeView+ depends on / blocked
 
Reported: 2026-11-11 08:11 UTC by Vladimir Vasilev
Modified: 2026-11-11 08:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-11-11 08:11:34 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 6.0.0 until 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose stores the connection-level sanitizeFilter option in Connection.config, but Query.prototype._castConditions() and query casting check other option locations and do not read that configuration. An application that enables sanitizeFilter through mongoose.connect() or createConnection() and passes an attacker-controlled object into a query filter therefore receives a connection that reports the defense as enabled while query selector objects remain unsanitized. A crafted password value using a query operator can match an account record without the expected literal password, while global configuration through mongoose.set('sanitizeFilter') and per-query Model.find().sanitizeFilter() remain unaffected. This issue is fixed in versions 6.13.12, 7.8.13, 8.24.7, and 9.11.4.


Note You need to log in before you can comment on or make changes to this bug.