NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
CRITICAL severity

Deserialization of Untrusted Data in bsonGHSA-v8w9-2789-6hhr

CRITICALFix: mongodb/js-bson@3809c13

GHSA-v8w9-2789-6hhr is a critical-severity (CVSS 9.8) Deserialization of Untrusted Data vulnerability in bson. A fix is available for bson — see the affected versions and patch details below.

Also known asCVE-2020-7610SNYK-JS-BSON-561052
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 23, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
2.3%probability of exploitation in next 30 days
Lower Risk+0.04%
Lower risk than most CVEs84th percentile — riskier than 84% of all scored CVEsHighest risk
0.01%0.95%1.90%2.84%0.5%2.3%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

2Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
bsonnpm
22.9Mdownloads / week

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 _bsontype, leading to cases where an object is serialized as a document rather than the intended BSON type.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmbsonall versions1.1.4npm install bson@1.1.4

Affected Products

1 product · 1 configurations
Application
bsonmongodb
≥ 1.0.0 && < 1.1.4
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for bson, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update bson to 1.1.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-v8w9-2789-6hhr is resolved across your whole dependency graph.

  3. Workarounds

    Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
ProductFixed inAdvisory
Red Hat Openshift Data Foundation 5.0odf5/cephcsi-rhel9:1795073870RHSA-2026:100741

Frequently Asked Questions

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 _bsontype, leading to cases where an object is serialized as a document rather than the intended BSON type.
O3 Security · Impact-Aware SCA

Is GHSA-v8w9-2789-6hhr in your dependencies?

Find it across npm, including transitive dependencies.

Deserialization of Untrusted Data in bson (Critical 9.8)