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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-502"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64678.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.4.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"original_tag": "v4.4.1",
"range": [
{
"fixed": "3411086af554a9d7455e4f4d24dae07579213dc4"
}
],
"source": "REFERENCES_TAG"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.4.1"
}
],
"source": "DESCRIPTION"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64678.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"100736578187683302010385288941950026915",
"339340518994600420036293237363928946608",
"87504051476347542199926612242375883647",
"292790337819618261797381554511250648567",
"75624114627727420692690727063937643755",
"103658845919655988154187797397128333213",
"73823218817761173757241130704872074337",
"93611554572043294645939169945000976491",
"253496185645735021259020042056218237013",
"243367454195855970110849773467955182160"
],
"threshold": 0.9
},
"id": "CVE-2026-64678-4d614876",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/nitrite/nitrite-java/commit/3411086af554a9d7455e4f4d24dae07579213dc4",
"target": {
"file": "nitrite/src/main/java/org/dizitart/no2/index/NitriteIndex.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "267125076346944525373770503635407141352",
"length": 294
},
"id": "CVE-2026-64678-ed9ac0de",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/nitrite/nitrite-java/commit/3411086af554a9d7455e4f4d24dae07579213dc4",
"target": {
"file": "nitrite/src/main/java/org/dizitart/no2/index/TextIndex.java",
"function": "addIndexElement"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"300158807844937084056812282675030282620",
"155543333622500016704577833824278716239",
"46559381821937518017095598887780507593",
"115302451222043494147311964082017110314",
"151934196224101818069128235725276310186",
"224794529975892432150923940062947530748",
"249720260426484970637706160418853517575",
"170699487017131207749138725633904240747",
"15489984749688036325704198674541291586",
"66788006155602230795212438586008109458",
"290654823150008802774246206572734629315",
"105900884695204148677586601380839326633",
"58561041589308643968628024214731752401",
"85013724178927365811459632178575177338",
"153546595669017628747799028444348336581",
"187769379632851800596174762044881860979"
],
"threshold": 0.9
},
"id": "CVE-2026-64678-f2d66387",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/nitrite/nitrite-java/commit/3411086af554a9d7455e4f4d24dae07579213dc4",
"target": {
"file": "nitrite/src/main/java/org/dizitart/no2/index/TextIndex.java"
}
}
]
"2026-11-18T07:04:35Z"