# CVE-2024-45758: H2O.ai H2O vulnerable to deserialization attacks via a JDBC Connection URL

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-09-06T00:00:00.000Z
- Modified: 2026-10-27T17:45:04.102Z
- Also known as: GHSA-hrmc-jmp7-mpm2, PYSEC-2026-352
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

H2O.ai H2O through 3.46.0.4 allows attackers to arbitrarily set the JDBC URL, leading to deserialization attacks, file reads, and command execution. Exploitation can occur when an attacker has access to post to the ImportSQLTable URI with a JSON document containing a connection_url property with any typical JDBC Connection URL attack payload such as one that uses queryInterceptors.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- h2oai h2o-3: up to 3.46.0.4
- ai.h2o:h2o-core (Maven): up to 3.46.0.7
- h2o (PyPI): up to 3.46.0.7
- h2o h2o: up to 3.46.0.4

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://spear-shield.notion.site/Unauthenticated-Remote-Code-Execution-via-Unrestricted-JDBC-Connection-87a958a4874044199cbb86422d1f6068> (exploit, third-party-advisory, web)
- <https://gist.github.com/AfterSnows/c24ca3c26dc89ab797e610e92a6a9acb> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-45758> (advisory)
- <https://github.com/h2oai/h2o-3/issues/16425> (web)
- <https://github.com/h2oai/h2o-3/issues/16622> (web)
- <https://github.com/h2oai/h2o-3/pull/16624> (web)
- <https://github.com/h2oai/h2o-3/commit/f714edd6b8429c7a7211b779b6ec108a95b7382d> (web)
- <https://github.com/h2oai/h2o-3> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/h2o/PYSEC-2026-352.yaml> (web)
- <https://pypi.org/project/h2o> (package, web)
- <https://github.com/advisories/GHSA-hrmc-jmp7-mpm2> (advisory)

## Sources

- CVE List: [CVE-2024-45758](https://www.cve.org/CVERecord?id=CVE-2024-45758), CVE Terms of Use, modified 2024-09-06
- GitHub Advisory Database: [GHSA-hrmc-jmp7-mpm2](https://github.com/advisories/GHSA-hrmc-jmp7-mpm2), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2024-45758](https://nvd.nist.gov/vuln/detail/CVE-2024-45758), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-352](https://osv.dev/vulnerability/PYSEC-2026-352), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2024-45758 · Whole record: https://cve.day/CVE-2024-45758.json · Rebuilt by cve.day 2026-11-25T22:58:45.141Z
