Read the docs
TI-2022-23899 Aliases CVE-2022-48282GHSA-7j9m-j397-g4wx

Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution

Priority LOW 36CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502.

Summary

Under very specific circumstances (see Required configuration section below), a privileged user is able to cause arbitrary code to be executed which may cause further disruption to services. This is specific to applications written in C#. This affects all MongoDB .NET/C# Driver versions prior to and including v2.18.0 Following configuration must be true for the vulnerability to be applicable: * Application must written in C# taking arbitrary data from users and serializing data using _t without any validation AND * Application must be running on a Windows host using the full .NET Framework, not .NET Core AND * Application must have domain model class with a property/field explicitly of type System.Object or a collection of type System.Object (against MongoDB best practice) AND * Malicious attacker must have unrestricted insert access to target database to add a _t discriminator."Following configuration must be true for the vulnerability to be applicable

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01379 72nd percentileScored 2026-11-07
Fix Fixed MongoDB.Driver (NuGet): 2.19.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBMongoDB .NET/C# Driverup to v2.18.0—No fix listedCNA
—MongoDB.Driver (NuGet)before 2.19.02.19.0Patch availableGHSA-7j9m-j397-g4wx
  • MongoDB .NET/C# Driver VendorMongoDB Affected up to v2.18.0 Fixed in — No fix listed CNA
  • MongoDB.Driver (NuGet) Vendor— Affected before 2.19.0 Fixed in 2.19.0 Patch available GHSA-7j9m-j397-g4wx

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:c\#_driver:*:*:*:*:*:mongodb:*:*before 2.19.0VulnerableMongoDB
  • cpe:2.3:a:mongodb:c\#_driver:*:*:*:*:*:mongodb:*:* Versions before 2.19.0 Vulnerable ·MongoDB

Remediation

  • Fix · GHSA-7j9m-j397-g4wx MongoDB.Driver (NuGet) Fixed in 2.19.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-48282
  2. 2026-10-03 Alias added: GHSA-7j9m-j397-g4wx

References

  • TI-2026-56248 NoSQL injection via unquoted constant GroupBy keys in LINQ pipeline translation CVSS 4.0MEDIUM 6.9
  • TI-2026-60051 Regular expression injection via unescaped characters in LINQ query translation in MongoDB C# Driver CVSS 4.0HIGH 7.1
  • TI-2026-56250 Connection-option injection via unescaped settings in the canonical MongoDB URL builder CVSS 4.0HIGH 7.1
  • TI-2026-56251 KMS master key exposure via unredacted credential serialization in driver settings string CVSS 4.0MEDIUM 6.8
  • TI-2026-60050 GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB C# Driver CVSS 4.0MEDIUM 6.1
  • TI-2026-56249 NoSQL injection via array replacement bypassing update shape validation in driver write path CVSS 4.0MEDIUM 5.3
See all 7 →

Sources