CVE-2026-141347

7.1High

Published Dec 3, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.1CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
Low
User action
None
Impact
High impact on integrity
Weakness
CWE-470

What an attacker gets

Authenticated attackers can trigger arbitrary class loading and remote code execution by injecting malicious BSON documents. This requires the ability to insert documents into a collection that the application later processes.

Root cause

The BSON object-mapping component insecurely uses type-name values from documents to determine which Java classes to instantiate.

Affected versions

Versions not listed — check the vendor advisory.

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Fix & remediation

Upgrade to the latest version of the MongoDB Java Driver as specified in the vendor advisory. If you cannot upgrade immediately, restrict database write access to prevent untrusted users from inserting documents into collections read by the application.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

A deserialization flaw in the BSON object-mapping component of the MongoDB Java Driver allows a type-name value carried inside a document to select which Java class the embedding application loads and builds. A party able to place a document into a collection the application later reads can cause the application to load, initialize and populate an arbitrary class that is present on its classpath, with field values taken from the same document. This may result in unintended changes to application state and in failures when the affected records are read.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-141347

More fully triaged vulnerabilities you may want to check next.