CVE-2026-141347
Published:December 03, 2026
Updated:December 04, 2026
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.
Affected Packages
https://github.com/mongodb/mongo-java-driver.git (GITHUB):
Affected version(s) >=r3.5.0-alpha1 <r5.16.0 || >=r4.0.0-beta1 <r5.16.0 || >=r5.0.0-beta0 <r5.16.0Fix Suggestion:
Update to version r5.16.0org.mongodb:bson (JAVA):
Affected version(s) >=5.0.0-beta0 <5.16.0 || >=4.0.0-beta1 <5.16.0 || >=3.5.0-alpha1 <5.16.0Fix Suggestion:
Update to version 5.16.0Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Use of Externally-Controlled Input to Select Classes or Code
EPSS
Base Score:
0.55