CVE-2026-64678: nitrite-java · Unsafe deserialization
Exploitation: Public exploit · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-11
Description
NOsql Object (NO2 a.k.a Nitrite) database is an open source nosql embedded document store. Prior to version 4.4.1, when Nitrite opens a database file, MVStoreUtils.openOrCreate() automatically checks for a legacy v1-format store and, on detecting one (or hitting a compatibility error while opening), triggers an automatic migration path. This path deserializes stored values using NitriteDataType.deserialize(byte[]), which passes the raw bytes directly to java.io.ObjectInputStream.readObject() via a custom NitriteObjectInputStream subclass. That subclass overrides only readClassDescriptor() — solely to remap a handful of known legacy class names to their current equivalents — and implements no class allowlist, blocklist, or ObjectInputFilter (JEP 290). Any Serializable class reachable on the embedding application's classpath can therefore be instantiated via readObject(), with readObject()/readExternal()/readResolve() callbacks invoked unconditionally. If a suitable gadget class (e.g. from commons-collections or similar) happens to be present on the classpath, this is a precondition for remote code execution. This issue has been patched in version 4.4.1.
Enclave's analysis
Nitrite's mvstore adapter deserializes Java objects with no filtering when it opens a legacy v1 database file or hits a compatibility error. An attacker needs the app to open a crafted .db file, such as through a restore or import feature. RCE also needs a gadget class on the classpath. Only a PoC of the primitive exists, with no known exploitation. Upgrade to 4.4.1.
Fix
Upgrade org.dizitart:nitrite-mvstore-adapter (nitrite-java) to 4.4.1. No fixed version is listed for nitrite-java; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| nitrite-java | < 4.4.1 | Not listed |
| org.dizitart:nitrite-mvstore-adapter (nitrite-java) | < 4.4.1 (advisory: <= 4.4.0) | 4.4.1 |