CVE-2026-64678: Nitrite Database - Insecure Deserialization
- Cve: CVE-2026-64678
- Name: Nitrite Database - Insecure Deserialization
- 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.
- Impact: Attackers can execute arbitrary code if a gadget class is on the classpath, potentially leading to full system compromise.
- Remediation: Upgrade to version 4.4.1 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirements: A suitable gadget class must be present on the application's classpath
- Labels source: securitycontext
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00863
- Epss percentile: 0.59319
- Assignee: [email protected]
- Published at: 2026-11-11T05:19:51Z
- Age in days: 13
- Modified at: 2026-11-12T22:18:51Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-64678
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/nitrite/nitrite-java/releases/tag/v4.4.1 | nvd | |
| https://github.com/nitrite/nitrite-java/security/advisories/GHSA-9297-g93h-86gg | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nitrite/nitrite-java | fix, releases, security_advisory | yes | /v1/repositories/nitrite/nitrite-java |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts