CVE-2022-23221
H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the...
- Published
- Jan 19, 2022
- Updated
- May 5, 2025
- Assigning CNA
- mitre
- Evidence observed
- Aug 27, 2026
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HHigh · next 30 days
- Percentile
- 99.2%
- Model date
- Oct 17, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
Summary
H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the IGNORE_UNKNOWN_SETTINGS=TRUE;FORBID_CREATION=FALSE;INIT=RUNSCRIPT substring, a different vulnerability than CVE-2021-42392.
Sources
h2database/CVE-2022-23221
H2 Database Web Console Pre-Auth JDBC Attack RCE (CVE-2022-23221)
Vulhub vulnerability labsDeclared conditions
- lab image version: vulhub/spring-with-h2database:2.0.206(h2database/CVE-2022-23221/docker-compose.yml:services.web.image)
vulhub/H2-database/CVE-2022-23221
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.