CVE-2024-10572 Denial of Service and Arbitrary File Write in h2oai/h2o-3
Attackers can exploit the run_tool command to shut down the server and write arbitrary files, causing denial of service and data modification.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-10572?
CVE-2024-10572 is a high-severity code injection vulnerability in h2oai/h2o-3, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In h2oai/h2o-3 version 3.46.0.1, the `run_tool` command exposes classes in the `water.tools` package through the `ast` parser. This includes the `XGBoostLibExtractTool` class, which can be exploited to shut down the server and write large files to arbitrary directories, leading to a denial of service.
Weakness: CWE-94
Which versions are affected by CVE-2024-10572?
5 open source packages ship an affected version, including h2o and ai.h2o:h2o-ext-xgboost. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
h2o PyPI | From 3.34.0.1 to 3.46.0.1 | None |
h2o PyPI | From 3.34.0.1 to 3.46.0.1 | None |
h2o PyPI | From 3.34.0.1 to 3.46.0.1 | None |
ai.h2o:h2o-ext-xgboost Maven | From 3.34.0.1 to 3.46.0.1 | None |
ai.h2o:h2o-ext-xgboost Maven | From 3.34.0.1 to 3.46.0.1 | None |
Products include H2o H2o.
How do I fix CVE-2024-10572?
No fix has been published for CVE-2024-10572 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-10572 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-10572 exists.
Other vulnerabilities in h2oai/h2o-3
Sources
Also known as GHSA-wjpv-64v2-2qpq, PYSEC-2026-1444.