CVE-2026-125118

Description

A flaw was found in Mongoose. When defining nested virtual paths in database schemas, the software fails to properly sanitize special object property names. A remote attacker who can influence schema field definitions—such as through dynamic form builders—can supply crafted property names to inject attributes into base JavaScript objects (prototype pollution). This unauthorized modification can allow an attacker to bypass authorization controls or disrupt application functionality.

Statement

Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Application Data

An attacker could modify sensitive data or program variables.

Integrity

Technical Impact: Execute Unauthorized Code or Commands

Other,Integrity

Technical Impact: Varies by Context; Alter Execution Logic

Frequently Asked Questions

Want to get errata notifications? Sign up here.