{"id":"CVE-2026-64678","state":"PUBLISHED","title":"Nitrite: Unfiltered Java Deserialization in Legacy v1 Database Migration Path","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.","publishedAt":"2026-11-11T04:07:12.719Z","updatedAt":"2026-11-12T19:30:37.259Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["nitrite nitrite-java"],"affected":[{"vendor":"nitrite","product":"nitrite-java","versions":[{"version":"< 4.4.1","status":"affected"}]}],"references":["https://github.com/nitrite/nitrite-java/security/advisories/GHSA-9297-g93h-86gg","https://github.com/nitrite/nitrite-java/releases/tag/v4.4.1"],"weaknesses":["CWE-502"],"ingestedAt":"2026-11-12T19:38:06.605Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64678.json","commit":"20be49b12ddd55f0997e0c6c4c9b50386d06a276","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64678","state":"PUBLISHED","datePublished":"2026-11-11T04:07:12.719Z","dateUpdated":"2026-11-12T19:30:37.259Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-20T17:12:12.892Z"},"containers":{"cna":{"title":"Nitrite: Unfiltered Java Deserialization in Legacy v1 Database Migration Path","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"nitrite","product":"nitrite-java","versions":[{"version":"< 4.4.1","status":"affected"}]}],"references":[{"url":"https://github.com/nitrite/nitrite-java/security/advisories/GHSA-9297-g93h-86gg","name":"https://github.com/nitrite/nitrite-java/security/advisories/GHSA-9297-g93h-86gg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nitrite/nitrite-java/releases/tag/v4.4.1","name":"https://github.com/nitrite/nitrite-java/releases/tag/v4.4.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","lang":"en","description":"CWE-502: Deserialization of Untrusted Data","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-11T04:07:12.719Z"},"source":{"advisory":"GHSA-9297-g93h-86gg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nitrite/nitrite-java/security/advisories/GHSA-9297-g93h-86gg","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-12T19:30:09.186924Z","id":"CVE-2026-64678","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-12T19:30:37.259Z"}}]}}}