# CVE-2024-6863: Encryption of Arbitrary Files with Attacker-Controlled Key in h2oai/h2o-3

- Severity: Medium 6.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- 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.36%, higher than 31% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:30.190Z
- Modified: 2026-07-07T17:56:56.075Z
- Also known as: GHSA-m37h-8r48-2cxj, PYSEC-2026-1442
- Weaknesses: CWE-749
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

In h2oai/h2o-3 version 3.46.0, an endpoint exposing a custom EncryptionTool allows an attacker to encrypt any files on the target server with a key of their choosing. The chosen key can also be overwritten, resulting in ransomware-like behavior. This vulnerability makes it possible for an attacker to encrypt arbitrary files with keys of their choice, making it exceedingly difficult for the target to recover the keys needed for decryption.

(As written by CVE List.)

## Affected

- h2oai h2oai/h2o-3: from unspecified up to latest
- h2o (PyPI): from 3.32.1.2 up to 3.46.0
- ai.h2o:h2o-core (Maven): from 3.32.1.2 up to 3.46.0
- h2o h2o: 3.46.0

## Every score

- @huntr_ai: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- PyPA Advisory Database: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`

## References

- <https://huntr.com/bounties/10f55937-0cba-4530-897f-2abf30ed5270> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6863> (advisory)
- <https://github.com/h2oai/h2o-3> (package)
- <https://github.com/h2oai/h2o-3/blob/a20b5b19b769866ee24b217ee78b820e64c1cd6a/h2o-core/src/main/java/water/tools/EncryptionTool.java#L49> (web)
- <https://pypi.org/project/h2o> (package)
- <https://github.com/advisories/GHSA-m37h-8r48-2cxj> (advisory)

## Sources

- CVE List: [CVE-2024-6863](https://www.cve.org/CVERecord?id=CVE-2024-6863), CVE Terms of Use, modified 2025-10-15
- GitHub Advisory Database: [GHSA-m37h-8r48-2cxj](https://github.com/advisories/GHSA-m37h-8r48-2cxj), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-6863](https://nvd.nist.gov/vuln/detail/CVE-2024-6863), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1442](https://osv.dev/vulnerability/PYSEC-2026-1442), CC-BY-4.0, modified 2026-07-07

---

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