Code Injection in H2 Database - #VU159733

 

Code Injection in H2 Database - #VU159733

Published: January 5, 2022 / Updated: November 6, 2026


Vulnerability identifier: #VU159733
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to execute arbitrary code in the Java process hosting H2 Console.

The vulnerability exists due to H2 Console permitting custom classes to be loaded from remote servers through JNDI when remote access is explicitly enabled without access protection. An unauthenticated remote attacker can supply an LDAP URL referencing an attacker-controlled server to load a malicious class and execute its code.


Affected software

H2 Database

Remediation

Install security update from vendor's website.

H2 Database - update to 2.0.206

External References

Related Security Bulletins