High severity · published Feb 21, 2023
CVE-2022-48282
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…
7.2
CVSS
1.4%
EPSS
No
On KEV
Description
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
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 72% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CD
C# Driver · Mongodb
before 2.19.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-48282
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-48282
Release Notes
https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0
Patch
https://jira.mongodb.org/browse/CSHARP-4475
security.netapp.com
https://security.netapp.com/advisory/ntap-20230324-0003/
More from C# Driver
8.3
CVE-2026-88036
GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB C Driver
8.3
CVE-2026-88034
GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB C++ Driver
8.3
CVE-2026-88025
GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB C# Driver
8.1
CVE-2026-93393
Heap overflow via oversized decrypted TLS record sequence in Windows Secure Channel stream
8.1
CVE-2026-81522
Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C++ Driver
