CVE-2022-48282
published medium CVSS 3.1 · 6.6Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc | — | MongoDB .NET/C# Driver0 through v2.18.0 · Other versions: unaffected | Affected | Not stated | mongodb |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.6 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc | MongoDB .NET/C# Driver | 0 through v2.18.0 (affected · custom)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-502 CWE-502 Deserialization of Untrusted Data
References
3Provider assertions
3mongodb · cna
Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 370ba2e172dd6315a9fcfdc232fd5ab7543bbf1adc6f193f4bcada29e3709960
- Ingested
- 23 Sep 2026, 08:03:53 UTC
- Source record
- Official CVE record