HIGH 8.2 PyPI

H2O Vulnerable to Arbitrary File Overwrite

GHSA-g48v-3p35-88jr · CVE-2024-8616 · PYSEC-2026-1441

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

In h2oai/h2o-3 version 3.46.0, the /99/Models/{name}/json endpoint allows for arbitrary file overwrite on the target server. The vulnerability arises from the exportModelDetails function in ModelsHandler.java, where the user-controllable mexport.dir parameter is used to specify the file path for writing model details. This can lead to overwriting files at arbitrary locations on the host system.

Ready to move

Start Securing

Free, no credit card | First findings in minutes