ADVISORIES

Vulnerability

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.

10 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • CGA-579x-w5w6-mx9x
    CVE-2022-45868 Chainguard Updated 5 November 2026
  • CGA-79qq-pj4x-ch8h
    CVE-2022-45868 Chainguard Updated 5 November 2026
  • CGA-cf55-x5qh-vpvc
    CVE-2022-45868 Chainguard Updated 5 November 2026
  • CGA-h84p-9q74-346p
    CVE-2022-45868 Chainguard Updated 5 November 2026
  • CGA-j3vg-v76q-f546
    CVE-2022-45868 ChainguardWolfi Updated 5 November 2026
  • CGA-pq2q-hv46-4jch
    CVE-2022-45868 ChainguardWolfi Updated 5 November 2026
  • CGA-v9j5-pqvv-43xj
    CVE-2022-45868 Chainguard Updated 5 November 2026
  • CGA-x3cv-65rf-g292
    CVE-2022-45868 Chainguard Updated 5 November 2026
  • DEBIAN-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.…

    CVE-2022-45868 Debian Updated 20 November 2026
  • GHSA-22wj-vf5f-wrvj

    Password exposure in H2 Database

    High CVE-2022-45868 Maven Updated 10 September 2026

References