CVE-2026-125119

Source
https://cve.org/CVERecord?id=CVE-2026-125119
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125119.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-125119
Aliases
Downstream
CLSA (9)
DHI (1)
ROOT (1)
Published
2026-11-09T22:32:49Z
Modified
2026-11-27T06:55:58Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Mongoose: Connection-level sanitizeFilter not applied
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-943"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125119.json"
}
References

Affected packages

Git / github.com/automattic/mongoose

Affected ranges

Type
GIT
Repo
https://github.com/automattic/mongoose
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "6.0.0"
                },
                {
                    "fixed":  "6.13.12"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "7.0.0"
                },
                {
                    "fixed":  "7.8.13"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "8.0.0"
                },
                {
                    "fixed":  "8.24.7"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "9.0.0"
                },
                {
                    "fixed":  "9.11.4"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "4bb659478be2f30655a7bdd78bc251bdf111cd29"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "4f4f9a79f860786a54133bee2c9af967ec691491"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "83eda6af1489e9ef60bb8eee8cf9ee005771b9d5"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "b8970c25998c23fbccd17f76c0398b902ff4911d"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "6.13.12",
            "range":  [
                {
                    "fixed":  "cfc97ffcb3cf4acb45f3c19692fd727d7d142ed5"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "7.8.13",
            "range":  [
                {
                    "fixed":  "c9f8fe4b878a03dd66f773b89f795b93c7f0e490"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "8.24.7",
            "range":  [
                {
                    "fixed":  "d0e609c73787c996ec0fa40016ebd5ae0f12561f"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "9.11.4",
            "range":  [
                {
                    "fixed":  "8d8b50f8b7e10bd28771d6874a10f971fe5ad5ac"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

6.*
6.0.0
6.0.1
6.0.10
6.0.11
6.0.12
6.0.13
6.0.14
6.0.15
6.0.2
6.0.3
6.0.4
6.0.5
6.0.6
6.0.7
6.0.8
6.0.9
6.1.0
6.1.1
6.1.2
6.1.3
6.1.4
6.1.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8.14.0
8.14.1
8.14.2
8.14.3
8.15.0
8.15.1
8.15.2
8.16.0
8.16.1
8.16.2
8.16.3
8.16.4
8.16.5
8.17.0
8.17.1
8.17.2
8.18.0
8.18.1
8.18.2
8.18.3
8.19.0
8.19.1
8.19.2
8.19.3
8.19.4
8.2.0
8.2.1
8.2.2
8.2.3
8.2.4
8.20.0
8.20.1
8.20.2
8.20.3
8.20.4
8.21.0
8.21.1
8.22.0
8.22.1
8.23.0
8.23.1
8.24.0
8.24.1
8.24.2
8.24.3
8.24.4
8.24.5
8.24.6
8.3.0
8.3.1
8.3.2
8.3.3
8.3.4
8.3.5
8.4.0
8.4.1
8.4.2
8.4.3
8.4.4
8.4.5
8.5.0
8.5.1
8.5.2
8.5.3
8.5.4
8.5.5
8.6.0
8.6.1
8.6.2
8.6.3
8.6.4
8.7.0
8.7.1
8.7.2
8.7.3
8.8.0
8.8.1
8.8.2
8.8.3
8.8.4
8.9.0
8.9.1
8.9.2
8.9.3
8.9.4
8.9.5
8.9.6
8.9.7
9.*
9.0.0
9.0.1
9.0.2
9.1.0
9.1.1
9.1.2
9.1.3
9.1.4
9.1.5
9.1.6
9.10.0
9.10.1
9.10.2
9.10.3
9.10.4
9.11.0
9.11.1
9.11.2
9.11.3
9.2.0
9.2.1
9.2.2
9.2.3
9.2.4
9.3.0
9.3.1
9.3.2
9.3.3
9.4.0
9.4.1
9.5.0
9.6.2
9.6.3
9.7.0
9.7.1
9.7.2
9.7.3
9.7.4
9.8.0
9.8.1
9.9.0
9.9.1
9.9.2
9.9.3
9.9.4
9.9.5
Other
test

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125119.json"