{"id":"CVE-2024-8616","aliases":["CVE-2024-8616","GHSA-g48v-3p35-88jr","PYSEC-2026-1441"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary File Overwrite in h2oai/h2o-3","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En h2oai/h2o-3 versión 3.46.0, el endpoint `/99/Models/{name}/json` permite la sobrescritura arbitraria de archivos en el servidor de destino. La vulnerabilidad surge de la función `exportModelDetails` en `ModelsHandler.java`, donde se utiliza el parámetro `mexport.dir`, controlable por el usuario, para especificar la ruta del archivo donde se escriben los detalles del modelo. Esto puede provocar la sobrescritura de archivos en ubicaciones arbitrarias del sistema host.","source":"nvd"}],"published":"2025-03-20T10:10:20.480Z","modified":"2026-07-07T17:56:21.858Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"}],"cwes":["CWE-73"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"h2oai","product":"h2oai/h2o-3","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.10.4.1","status":"affected","lastAffected":"3.46.0"}],"ecosystem":"PyPI","package":"h2o","purl":"pkg:pypi/h2o","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.10.4.1","status":"affected","lastAffected":"3.46.0"}],"ecosystem":"Maven","package":"ai.h2o:h2o-core","purl":"pkg:maven/ai.h2o/h2o-core","source":"ghsa"},{"ranges":[{"status":"affected","version":"3.46.0"}],"vendor":"h2o","product":"h2o","cpe":"cpe:2.3:a:h2o:h2o:3.46.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"3.10.4.1","status":"affected","lastAffected":"3.46.0"}],"ecosystem":"PyPI","package":"h2o","purl":"pkg:pypi/h2o","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/aebf69a5-b9b1-4d2f-a8ff-902c11a8c97a","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8616","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/h2oai/h2o-3","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/h2oai/h2o-3/blob/088190f9d0370a02a483fca68d8dc89c996b4f83/h2o-core/src/main/java/water/api/ModelsHandler.java#L310","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/h2o","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-g48v-3p35-88jr","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-03-20T17:51:48.345Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-8616","url":"https://www.cve.org/CVERecord?id=CVE-2024-8616","licence":"CVE Terms of Use","modified":"2025-03-20T18:23:06.601Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g48v-3p35-88jr","url":"https://github.com/advisories/GHSA-g48v-3p35-88jr","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:21.858Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-8616","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8616","licence":"Public domain","modified":"2026-06-17T08:22:59.183Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1441","url":"https://osv.dev/vulnerability/PYSEC-2026-1441","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:12.517Z"}],"updatedAt":"2026-11-25T22:58:52.399Z","epss":{"score":0.00557,"percentile":0.47814,"date":"2026-12-01T12:00:22.000Z"}}