# CVE-2020-7610: Deserialization of Untrusted Data in bson

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.31%, higher than 83% of CVEs (2026-12-02)
- Published: 2020-03-30T18:28:17.000Z
- Modified: 2026-07-08T06:49:50.394Z
- Also known as: GHSA-v8w9-2789-6hhr, SNYK-JS-BSON-561052
- Weaknesses: CWE-502
- Assigned by: snyk

## Description

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. The package will ignore an unknown value for an object's _bsotype, leading to cases where an object is serialized as a document rather than the intended BSON type.

(As written by CVE List.)

## Affected

- bson: all versions before 1.1.4
- bson (npm): before 1.1.4
- mongodb bson: from 1.0.0 before 1.1.4

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-BSON-561052> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7610> (advisory)
- <https://github.com/mongodb/js-bson/commit/3809c1313a7b2a8001065f0271199df9fa3d16a8> (web)

## Sources

- CVE List: [CVE-2020-7610](https://www.cve.org/CVERecord?id=CVE-2020-7610), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-v8w9-2789-6hhr](https://github.com/advisories/GHSA-v8w9-2789-6hhr), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-7610](https://nvd.nist.gov/vuln/detail/CVE-2020-7610), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7610 · Whole record: https://cve.day/CVE-2020-7610.json · Rebuilt by cve.day 2026-11-25T22:57:51.709Z
