{"schemaVersion":4,"id":"CVE-2022-48282","aliases":["GHSA-7j9m-j397-g4wx"],"status":"published","duplicateOf":null,"title":"Deserializing compromised object with MongoDB .NET/C# Driver may cause remote code execution","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","dates":{"published":"2023-02-21T18:35:11.643Z","modified":"2025-03-11T19:20:08.556Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Nuget","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01436,"percentile":0.74036,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.05699999999999993,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.01379},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.02096,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.02096,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.02096,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.02096,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.02096,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.02096,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01436,"percentile":0.74036}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.02096,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.02096,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.02096,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.02096,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.02096,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.02096,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01379,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01436,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01436,"percentile":0.74036}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"mongodb inc","product":"mongodb .net/c# driver","name":"MongoDB .NET/C# Driver","label":"mongodb .net/c# driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ v2.18.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"v2.18.0","endInclusive":true}}],"versionsText":"≤ v2.18.0","eol":null,"hubHref":"/vendor/mongodb_inc/mongodb_netc_driver"},{"vendor":"mongodb","product":"c driver","name":"C Driver","label":"c driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.19.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.19.0","endInclusive":false}}],"versionsText":"< 2.19.0","eol":null,"hubHref":"/vendor/mongodb/c_driver"},{"vendor":"NuGet","product":"MongoDB.Driver","name":"MongoDB.Driver","label":"MongoDB.Driver","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/MongoDB.Driver","purlType":"nuget","versions":[{"text":"< 2.19.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.19.0","endInclusive":false}}],"versionsText":"< 2.19.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://jira.mongodb.org/browse/CSHARP-4475","label":"jira.mongodb.org/browse/CSHARP-4475","hostname":"jira.mongodb.org","tags":["WEB","Patch","Vendor Advisory"]},{"url":"https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0","label":"github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0","hostname":"github.com","tags":["WEB","Release Notes"]},{"url":"https://security.netapp.com/advisory/ntap-20230324-0003/","label":"security.netapp.com/advisory/ntap-20230324-0003/","hostname":"security.netapp.com","tags":[]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48282","label":"nvd.nist.gov/vuln/detail/CVE-2022-48282","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/mongodb/mongo-csharp-driver","label":"github.com/mongodb/mongo-csharp-driver","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://jira.mongodb.org/CSHARP-4475","label":"jira.mongodb.org/CSHARP-4475","hostname":"jira.mongodb.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-02-21T18:35:11.643Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-11T19:20:08.556Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.6, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,66],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.01436,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-03-11T19:20:08.556Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_nuget","date":"2025-03-11T19:20:08.556Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-03-11T19:20:08.556Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-03-11T19:19:47.914Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.01436,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:36:29.485Z","stale":false,"partial":false}}