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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
| Link | Providers |
|---|---|
| https://jira.mongodb.org/browse/JAVA-6267 |
|
History
Thu, 03 Dec 2026 21:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Remote code execution via unvalidated discriminator-driven class loading in POJO decoding | |
| Weaknesses | CWE-470 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mongodb
Published:
Updated: 2026-12-03T21:26:35.953Z
Reserved: 2026-12-01T15:08:35.731Z
Link: CVE-2026-141347
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses