sadrobot

← Back to the monthly list

CVE-2026-64678 nitrite · nitrite-java

9.8 Critical

AI summary

Nitrite (nitrite-java) before 4.4.1 deserializes Java objects without any filtering during automatic legacy migration when opening a database file, which can lead to remote code execution if a suitable gadget class is on the classpath. Critical (CVSS 9.8); fixed in 4.4.1.

Official 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.

Published
2026-11-11 05:19 UTC
Modified
2026-11-12 22:18 UTC
CVSS
9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.88% (percentile 57)
ENISA EUVD
EUVD-2026-123135
CISA SSVC
Exploitation: poc · Automatable: yes · Technical impact: total
CWE
CWE-502

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

References