Skip to content
High 7.7

MongoDB C# Driverに許可リストの回避で遠隔からコードを実行される脆弱性

CVE-2026-126982 First seen on SecPulse

Summary

MongoDB C# DriverのBSONデシリアライズで型の許可リストを回避される脆弱性が公表されました。不正なBSON/JSONデータを読み込ませられると、アプリケーションでコードを実行される可能性があります。3.2.0以上3.14.0未満が対象で、3.14.0以降の修正版で対応できます。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

MongoDB C# DriverのBSONデシリアライズで型の許可リストを回避される脆弱性が公表されました。不正なBSON/JSONデータを読み込ませられると、アプリケーションでコードを実行される可能性があります。3.2.0以上3.14.0未満が対象で、3.14.0以降の修正版で対応できます。

Affected packages

PackageAffected → Fixed
MongoDBC# Driver
≥ 3.2.0, < 3.14.0→ 3.14.0
Original description The description as published by the source.

A type allow-list bypass in the BSON serialization library of the MongoDB C# Driver allows a type-restriction check to be circumvented when polymorphic data is deserialized into loosely typed members. An unauthorized party who can supply or plant BSON/JSON data that the application later deserializes can cause the application process to instantiate .NET types outside the intended allow-list and populate them with unauthorized party-controlled values. In applications that contain a suitable gadget type, this can lead to arbitrary code execution in the context of the application, with corresponding loss of confidentiality, integrity, and availability. No special privileges beyond the ability to introduce data the application reads are required.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details