Skip to content

Java Driver 5.16.0 (December 03, 2026)

Latest

Choose a tag to compare

@mongodb-dbx-release-bot mongodb-dbx-release-bot released this 03 Dec 21:20
· 1 commit to 5.16.x since this release

What's Changed

Warning

Remote code execution via unvalidated discriminator-driven class loading in POJO decoding
Anyone who can plant a document the app later decodes can make the app load and build objects of any class they name.

See JAVA-6267 / CVE-2026-141347

Upgrade reactive/sync driver version to 5.16.0 or later.

Applications that consume class information from external sources are effected, if you can't upgrade make sure the application layer has a security check to verify which classes are loaded into the classpath.

Full Changelog: r5.15.0...r5.16.0

Verifying artifact signatures

Please refer to https://www.mongodb.com/docs/languages/java/mongodb-hibernate/upcoming/security/validate-signatures/ for the full procedure.

To download and import the public key for verifying signatures, execute

gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8