Skip to main content

Nitrite Java CVE-2026-64678

| EUVDEUVD-2026-123135 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-11-11 GitHub_M
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver malicious v1-format .db file
  2. Delivery
    Victim app opens file store
  3. Exploit
    testForMigration triggers unfiltered deserialization
  4. Execution
    readObject fires classpath gadget chain
  5. Impact
    Arbitrary code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three concrete prerequisites must hold. First, the embedding application must open a Nitrite file-based store (nitrite-mvstore-adapter <= 4.4.0) whose file originates from or is influenced by an untrusted party - the advisory names 'import database' / 'restore backup' features that accept a user-supplied .db file as the canonical trigger. Second, the file must be a legacy v1-format store or produce a compatibility/MVStoreException on open, which is what routes execution into the UpgradeUtil/compat.v1 migration path and NitriteDataType.deserialize(); note this check (testForMigration) runs automatically on every file-based open with no opt-out, so no unusual library configuration is required. Third, for actual remote code execution a suitable deserialization gadget class (e.g. from commons-collections or any Serializable type with a dangerous readObject/readResolve chain) must already be present on the embedding application's classpath - a condition outside the attacker's control. Limiting factors that reduce realistic risk: applications that never open untrusted .db files are not exposed, and without a gadget chain on the classpath the impact is limited to arbitrary Serializable-class instantiation and callback invocation rather than full RCE. Only complete fix is upgrading to 4.4.1, which adds a JEP 290 allowlist restricting deserialization to Nitrite's own types and standard JDK types.

Impact

The input CVSS of 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and the vuln.today 'act_now' decision label both signal top priority, and the CWE-502 unfiltered-deserialization mechanism is confirmed by the vendor GHSA advisory and the 4.4.1 release notes. However, the headline score represents a worst-case ceiling: the advisory itself states that remote code execution is conditional on 'a suitable gadget class (e.g. from commons-collections) happening to be present on the embedding application's classpath,' and on the application opening a Nitrite file-based store that is attacker-influenced (e.g. an import/restore-backup feature). Those two preconditions are real limiters the AC:L/UI:N vector does not capture, which is why my independent assessment lowers attack complexity/interaction (see assessed vectors). No EPSS score was provided in the input and the CVE is not listed in CISA KEV, so there is no probabilistic or confirmed-exploitation signal to corroborate the 'act_now' urgency - it rests on the critical severity plus a reproduced PoC rather than observed in-the-wild activity. Net: this is a genuine high priority for any Java application that (a) opens Nitrite database files from untrusted sources and (b) carries common gadget libraries on its classpath; for deployments that never open untrusted .db files, or that lack gadget chains, real-world risk is materially lower than the 9.8 implies. The 'act_now' label and critical rating are well-justified for exposed deployments, but the risk is conditional rather than universal.

Exploit ScenarioDerived

An attacker crafts a malicious legacy v1-format Nitrite .db file containing a serialized gadget payload and delivers it through an application feature that opens untrusted database files, such as an 'import database' or 'restore backup' upload. When the embedding application opens the file, MVStoreUtils.testForMigration() automatically routes into the v1 migration path and passes the stored bytes to ObjectInputStream.readObject() with no class filter, invoking readObject/readResolve callbacks; if a gadget chain such as commons-collections is on the classpath, this yields remote code execution. A public PoC in the GHSA advisory confirms (reproduced 3/3 on nitrite-mvstore-adapter 4.4.0) that the attacker-supplied class's readObject() callback fires with no class filtering, proving the deserialization primitive - though the PoC uses a benign marker class and does not itself constitute a weaponized end-to-end RCE chain.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 11, 2026

Unfiltered Java deserialization in Nitrite (NO2) through 4.4.0 lets a crafted or tampered .db file instantiate arbitrary Serializable classes on the host JVM when an application opens it as a file-based store. MVStoreUtils.testForMigration() runs automatically on every file-based open with no opt-out, and a legacy v1-format file - or a compatibility error during open - routes execution into the compat.v1 migration path where NitriteDataType.deserialize() hands raw bytes to ObjectInputStream.readObject() without any JEP 290 filter. Real-world impact depends on deployment: remote code execution is possible only if a suitable gadget class (e.g. commons-collections) is also on the embedding application's classpath, and the attacker must get the victim to open the malicious file, so exploitation is not automatic; a public PoC reference demonstrating unconditional readObject() callback invocation exists, but it is not verified as working exploit code and no confirmed in-the-wild exploitation is reported.

RemediationAI

Upgrade to nitrite-mvstore-adapter 4.4.1 (https://github.com/nitrite/nitrite-java/releases/tag/v4.4.1), which enforces a JEP 290 allowlist on the v1-compat deserializer so that only Nitrite's own types and standard JDK types can be read, and any other class is rejected before its readObject/readResolve callbacks can run; per the vendor advisory GHSA-9297-g93h-86gg this upgrade is the only complete fix, as testForMigration() offers no configuration switch to disable the legacy migration path. Where the upgrade cannot be applied immediately, the exposure can be removed operationally by not opening Nitrite database files that are untrusted or attacker-influenced - sandboxing or rejecting user-uploaded .db files in import/restore features, or re-creating stores rather than importing legacy v1 files - at the cost of losing those import/migration workflows; because legacy-format detection is automatic, a file must be pre-screened or regenerated with a trusted Nitrite instance before it is ever passed to the library.

Affected VersionsENISA

nitrite-java < 4.4.1

Affected Packages

euvd nitrite_java fix: 4.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-502 (Deserialization of Untrusted Data) in the MVStore adapter of Nitrite, an embedded NoSQL document store built on H2's MVStore storage engine (Maven artifact org.dizitart:nitrite-mvstore-adapter, CPE cpe:2.3:a:nitrite:nitrite-java, versions up to and including 4.4.0). On every file-based store open, MVStoreUtils.openOrCreate() calls testForMigration(), and any legacy v1-format store or compatibility/MVStoreException encountered while opening is handled by UpgradeUtil using the compat.v1 package. There, NitriteDataType.deserialize(byte[]) wraps the stored bytes in a custom NitriteObjectInputStream that extends java.io.ObjectInputStream but overrides only readClassDescriptor(), and only to remap seven known legacy class names (Security$UserCredential, NitriteId, Index, IndexType, IndexMetaService$IndexMeta, Document, meta.Attributes) to their current equivalents. No allowlist, blocklist, or java.io.ObjectInputFilter (JEP 290) is installed, so every other class descriptor read from the stream passes through unchanged and any Serializable class reachable on the embedding application's classpath can be instantiated, with readObject(), readExternal() and readResolve() callbacks invoked unconditionally. The result is a deserialization primitive that becomes remote code execution when a gadget chain from a library such as commons-collections is present; without such a gadget the impact is limited to arbitrary class instantiation and callback invocation. Version 4.4.1 replaces the unfiltered stream with a JEP 290 allowlist permitting only Nitrite's own types and standard JDK types.

Know when Nitrite Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

AC:H because RCE requires a gadget chain already present on the classpath (a condition beyond attacker control) and UI:R because the victim must open an attacker-supplied database file; PR:N as the library API needs no authentication.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 11, 2026 - 05:31 EUVD
CVE Published
Nov 11, 2026 - 04:07 cve.org
CRITICAL 9.8

DescriptionCVE.org

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.

Technical POC Analysis

CWE-502: Deserialization of Untrusted Data.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-64678 is a critical vulnerability in Nitrite (NO2) through version 4.4.0, a Java database library likely embedded in internal applications. It allows arbitrary code execution on the host when a crafted database file is opened, but requires a specific classpath gadget and user interaction. Leadership should care because internal teams may be exposed to supply-chain-style attacks, though no active exploitation has been confirmed.

Business Impact: High
Compensating Controls

No vendor patch available. Interim mitigations include: enforcing JVM-wide deserialization filters (JEP 290) to restrict classes allowed during ObjectInputStream.readObject(); isolating Nitrite file processing in a sandboxed environment with minimal privileges; validating and trusting only database files from known-good sources; and considering architectural changes to avoid processing untrusted files with Nitrite until a fix is released.

Threat Intelligence Overview

EPSS Score
0.7%
Top 48% exploitable
Prevalence
Low
niche open-source embedded Java NoSQL store, limited enterprise footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy