Remote Code Execution Vulnerability in Nitrite Database by Nitrite
CVE-2026-64678
9.8CRITICAL
What is CVE-2026-64678?
The Nitrite Database, an open-source embedded document store, possesses a vulnerability that could allow remote code execution. When opening a database file prior to version 4.4.1, a built-in automatic migration process improperly deserializes raw byte data using Java's ObjectInputStream. This oversight means that any Serializable class from the application’s classpath could be instantiated, creating a significant security risk. Without an effective allowlist or filter, the presence of a 'gadget class' in the classpath could facilitate remote code execution through maliciously crafted inputs. This flaw has been addressed and patched in version 4.4.1.
Affected Version(s)
nitrite-java < 4.4.1
