CVEBrief

Home / H2database / H2 / CVE-2022-45868

CVE-2022-45868: is it exploited, and which versions of H2database H2 are affected and fixed?

CVE-2022-45868 is a sensitive data stored in clear text vulnerability in H2database H2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: com.h2database:h2 from 1.4.198 before 2.2.220 (GitHub advisory GHSA-22wj-vf5f-wrvj). Fixed in 2.2.220 (GitHub advisory GHSA-22wj-vf5f-wrvj). Severity: High (8.4, CVSS 3.1, from mitre).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:43 UTC.

Disputed: a party (often the vendor) disputes that this is a vulnerability. The record is kept as published.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:08 UTC
Affected
com.h2database:h2 from 1.4.198 before 2.2.220
GitHub advisory GHSA-22wj-vf5f-wrvj
Fixed in
2.2.220
GitHub advisory GHSA-22wj-vf5f-wrvj
Severity
High 8.4
CVSS 3.1 from mitre
Exploit odds (EPSS)
0.33% in 30 days
higher than 28% of CVEs; FIRST, December 2, 2026

What is CVE-2022-45868?

The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument -webAdminPassword, which allows the user to specify the password in cleartext for the web admin console. Consequently, a local user (or an attacker that has obtained local access through some means) would be able to discover the password by listing processes and their arguments. NOTE: the vendor states "This is not a vulnerability of H2 Console ... Passwords should never be passed on the command line and every qualified DBA or system administrator is expected to know that." Nonetheless, the issue was fixed in 2.2.220.

From the CVE record by mitre, last updated November 19, 2024, 20:58 UTC.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavencom.h2database:h2>= 1.4.198, < 2.2.2202.2.220GHSA-22wj-vf5f-wrvj

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 3, 2024. Summary: Password exposure in H2 Database.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
h2databaseh2through 2.1.214application

NVD analysis (status Modified), last modified June 17, 2026, 05:10 UTC.

How severe is CVE-2022-45868?

ScoreVersionVectorSource
High 8.4CVSS 3.1CVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:N/S:U/UI:Nmitre
High 7.8CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-45868 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: total (CISA ADP, November 19, 2024)
EPSS
0.33% probability of exploitation activity in the next 30 days, percentile 28.3 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
November 23, 2022
Published
November 23, 2022, 00:00 UTC
CVE record updated
November 19, 2024, 20:58 UTC by mitre
NVD
Modified, last modified June 17, 2026, 05:10 UTC
Last checked
CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect H2?

Every CVE in H2

Questions about CVE-2022-45868

Is CVE-2022-45868 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.33% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of H2database H2 are affected by CVE-2022-45868?

com.h2database:h2 from 1.4.198 before 2.2.220, per the GitHub advisory GHSA-22wj-vf5f-wrvj. The tables above give every range the sources list.

Which version fixes CVE-2022-45868?

2.2.220, per the GitHub advisory GHSA-22wj-vf5f-wrvj. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-45868?

High (8.4, CVSS 3.1, from mitre). The severity table above shows each score with its source.

Where is the official record of CVE-2022-45868?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.