Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2026-64678: Nitrite Java library may execute code on old DB open
CVE-2026-64678 · published 24 days ago
Summary
The Nitrite Java database library automatically upgrades old version 1 files. During this upgrade it reads stored data without checking what classes are allowed, so any code that can be placed in the database could be run when the file is opened. Updating to version 4.4.1 or later stops this behavior and removes the risk.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| nitrite | nitrite-java | < 4.4.1 |
Original advisory text
Nitrite: Unfiltered Java Deserialization in Legacy v1 Database Migration Path
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.
References
- https://github.com/nitrite/nitrite-java/security/advisories/GHSA-9297-g93h-86gg Vendor Advisory
- https://github.com/nitrite/nitrite-java/releases/tag/v4.4.1 URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64678... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-64678 Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Type
CWE-502Deserialization of Untrusted Data
Timeline
Published11 Nov 2026
Updated3 Dec 2026
First seen11 Nov 2026
Track software like this
Free during beta