警戒
Mongoose inherited-property flaws allow denial of service and schema tampering
CVE-2026-125117 ほか3件
A web app saving outside data can have its database behavior broken or its settings changed.
- CVE
- CVE-2026-125117 ほか3件
- スコア
- CVSS 8.2 · CVE-2026-125117
- 初確認
8.2
製品
同時公開 Automattic mongoose
対処法
Update Mongoose to 6.13.12, 7.8.13, 8.24.7 or 9.11.4 or later. Until then, do not save or merge untrusted input as-is.
製品別の修正バージョン
- mongoose 6
- 6.13.12 以降
- mongoose 7
- 7.8.13 以降
- mongoose 8
- 8.24.7 以降
- mongoose 9
- 9.11.4 以降
要約
Mongoose walks into inherited properties when loading, setting and merging documents, so it can overwrite shared built-in functions and schema state. Versions before 6.13.12, 7.8.13, 8.24.7 and 9.11.4 are affected, and the same release also fixes a discriminator key casting bypass, a connection-level sanitizeFilter that is not applied, and prototype pollution through Schema.prototype.virtual().
攻撃コード公開済み
該当する条件
- CVE-2026-125117 storing or merging documents with untrusted keys, a Mixed path, strict: false, findOneAndReplace() or Query.prototype.merge() with untrusted input
- CVE-2026-125116 bulkWrite() insertOne with skipValidation: true, or discriminator key values from untrusted input
- CVE-2026-125119 sanitizeFilter enabled at connection level and attacker input placed in a query filter
- CVE-2026-125118 virtual field names set by untrusted input in dynamic schemas or form builders
製品別のインシデント: Automattic mongoose
Automattic mongoose のほかの最近のインシデント
CVE 4件(下のリンクはすべて新しいタブで開きます)
勧告を読む · github.com(新しいタブで開きます)
CVE 4件それぞれの内容(下のリンクはすべて新しいタブで開きます)
- CVE-2026-125117Lets attackers overwrite shared built-in functions or schema state, breaking later queries. CVSS 8.2
- CVE-2026-125119Connection-level sanitizeFilter is not applied, so query operators in input can match wrong accounts. CVSS 7.5 CVE-2026-125119 勧告
- CVE-2026-125118Virtual path names can write to Object.prototype, spoofing authorization flag checks. CVSS 6.5
あと1件を表示
- CVE-2026-125116Discriminator key values bypass casting, and the stored document breaks every query that reads it. CVSS 4.8