7.2

CVE-2022-48282: Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution

Modified
AliasesGHSA-7j9m-j397-g4wx
Published 21-02-2023Last modified 11-03-2025

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.

Priority
Routine

Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.2/10
010
High · v3.1 (NVD)
EPSS score
1.44%
0%100%
Low · +0.06 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 21-02-2023
    PublishedVulnerability first disclosed.
  2. 11-03-2025
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Mongodb1 product
Mongodb inc1 product
NuGet1 product
  • MongoDB.Driver< 2.19.0

3 vendors · 3 products

References

6 links