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.
CVE-2026-141347
CVSS base score
7.1 (v3.1)
Severity
HIGH
Attack vector
Network
Weakness
CWE-470
Last modified
December 3, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L