CVE-2024-10572 Denial of Service and Arbitrary File Write in h2oai/h2o-3

High 7.5 Published Updated

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.

PackageAffectedFixed in
h2o PyPIFrom 3.34.0.1 to 3.46.0.1None
h2o PyPIFrom 3.34.0.1 to 3.46.0.1None
h2o PyPIFrom 3.34.0.1 to 3.46.0.1None
ai.h2o:h2o-ext-xgboost MavenFrom 3.34.0.1 to 3.46.0.1None
ai.h2o:h2o-ext-xgboost MavenFrom 3.34.0.1 to 3.46.0.1None

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.

Sources

Also known as GHSA-wjpv-64v2-2qpq, PYSEC-2026-1444.

Is CVE-2024-10572 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free