Bug 2571528 - CVE-2026-125118 flmsg: Mongoose: Security bypass via prototype pollution in virtual schema paths [fedora-all]
Summary: CVE-2026-125118 flmsg: Mongoose: Security bypass via prototype pollution in v...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: flmsg
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["f2592e57-2639-4603-9e80-2...
Depends On:
Blocks: CVE-2026-125118
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:02 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. Prior to 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Schema.prototype.virtual() builds nested virtual paths without applying the special-property validation already used by Schema.path() and Schema.add(). An attacker who can influence virtual field names in dynamic schemas, content-management form builders, or schema-as-code systems can supply path segments such as __proto__, constructor, or prototype, causing the virtual-path reducer to write enumerable properties to Object.prototype or Function.prototype. The resulting prototype pollution can spoof inherited property checks such as authorization flags and can provide function-prototype gadget state to other server-side JavaScript code. 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.