{"api_version":"1","generated_at":"2026-04-23T01:00:10+00:00","cve":"CVE-2022-48282","urls":{"html":"https://cve.report/CVE-2022-48282","api":"https://cve.report/api/cve/CVE-2022-48282.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-48282","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-48282"},"summary":{"title":"CVE-2022-48282","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\n\nFollowing 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\n  *  Application must be running on a Windows host using the full .NET Framework, not .NET Core AND\n  *  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\n  *  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","state":"PUBLIC","assigner":"cna@mongodb.com","published_at":"2023-02-21 19:15:00","updated_at":"2023-06-21 13:15:00"},"problem_types":["CWE-502"],"metrics":[],"references":[{"url":"https://jira.mongodb.org/browse/CSHARP-4475","name":"https://jira.mongodb.org/browse/CSHARP-4475","refsource":"MISC","tags":[],"title":"[CSHARP-4475] Add an AllowedTypes filter to ObjectSerializer - MongoDB Jira","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0","name":"https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0","refsource":"MISC","tags":[],"title":"Release NET Driver Version 2.19.0 Release Notes · mongodb/mongo-csharp-driver · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://jira.mongodb.org/CSHARP-4475","name":"https://jira.mongodb.org/CSHARP-4475","refsource":"MISC","tags":[],"title":"System Dashboard - MongoDB Jira","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-48282","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48282","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"48282","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mongodb","cpe5":"c\\#_driver","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"mongodb","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-48282","ASSIGNER":"cna@mongodb.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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\n\nFollowing 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\n  *  Application must be running on a Windows host using the full .NET Framework, not .NET Core AND\n  *  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\n  *  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\n\n\n\n"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-502 Deserialization of Untrusted Data","cweId":"CWE-502"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"MongoDB Inc","product":{"product_data":[{"product_name":"MongoDB .NET/C# Driver","version":{"version_data":[{"version_affected":"<=","version_name":"0","version_value":"v2.18.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://jira.mongodb.org/browse/CSHARP-4475","refsource":"MISC","name":"https://jira.mongodb.org/browse/CSHARP-4475"},{"url":"https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0","refsource":"MISC","name":"https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0"}]},"generator":{"engine":"Vulnogram 0.1.0-dev"},"source":{"discovery":"EXTERNAL"},"configuration":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<span style=\"background-color: rgb(238, 238, 238);\">Application must written in C# taking arbitrary data from users and serializing data using _t without any validation AND</span><br><span style=\"background-color: rgb(238, 238, 238);\">Application must be running on a Windows host using the full .NET Framework, not .NET Core AND</span><br><span style=\"background-color: rgb(238, 238, 238);\">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</span><br><span style=\"background-color: rgb(238, 238, 238);\">Malicious attacker must have unrestricted insert access to target database to add a _t discriminator.</span><br>"}],"value":"Application must written in C# taking arbitrary data from users and serializing data using _t without any validation AND\nApplication must be running on a Windows host using the full .NET Framework, not .NET Core AND\nApplication 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\nMalicious attacker must have unrestricted insert access to target database to add a _t discriminator.\n"}],"credits":[{"lang":"en","value":"Jonathan Birch of Microsoft Office Security"}],"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.6,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-02-21 19:15:00","lastModifiedDate":"2023-06-21 13:15:00","problem_types":["CWE-502"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH"},"exploitabilityScore":1.2,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mongodb:c\\#_driver:*:*:*:*:*:mongodb:*:*","versionEndExcluding":"2.19.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}