CVE-2022-48282: Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution
Vulnerability summary
CVE-2022-48282 is a high (CVSS 7.2) Deserialization of Untrusted Data vulnerability in mongodb inc mongodb .net/c# driver. EPSS estimates a 1.44% chance of exploitation in the next 30 days, higher than 74% of scored vulnerabilities.
Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 21-02-2023PublishedVulnerability first disclosed.
- 11-03-2025Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- CVE.orgCNA6.6MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · NugetEcosystem advisory · calculated7.2HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.44%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
Increase +0.06 pp
From 1.38% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Mongodb1 product
- c driver< 2.19.0
Mongodb inc1 product
- mongodb .net/c# driver≤ v2.18.0
NuGet1 product
- MongoDB.Driver< 2.19.0
3 vendors · 3 products