{"answers":{"affected":"5 open source packages ship an affected version, including h2o and ai.h2o:h2o-core.","exploited":"There is no known exploitation of CVE-2024-5986 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-5986 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-5986 is a critical path traversal vulnerability in h2oai/h2o-3, published on 2 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-5986 and fix it if it is affected.\n\nWhat it is: CVE-2024-5986 is a critical path traversal vulnerability in h2oai/h2o-3, published on 2 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-5986 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- h2o (PyPI): affected all versions up to 3.46.0.1; no fix listed\n- h2o (PyPI): affected all versions up to 3.46.0.1; no fix listed\n- h2o (PyPI): affected all versions up to 3.46.0.1; no fix listed\n- ai.h2o:h2o-core (Maven): affected all versions up to 3.46.0.1; no fix listed\n- ai.h2o:h2o-core (Maven): affected all versions up to 3.46.0.1; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-5986/ (Markdown: https://insights.sbomify.com/CVE-2024-5986/index.md)","id":"CVE-2024-5986","markdown":"https://insights.sbomify.com/CVE-2024-5986/index.md","name":"CVE-2024-5986","record":{"aliases":["GHSA-wj3h-wx8g-x699","PYSEC-2026-353"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"H2O-3 machine learning server","requires_auth":"none","summary":"Remote attackers can write arbitrary data to any file on the server via the Parse and export endpoints, potentially leading to remote code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"description":"A vulnerability in h2oai/h2o-3 version 3.46.0.1 allows remote attackers to write arbitrary data to any file on the server. This is achieved by exploiting the `/3/Parse` endpoint to inject attacker-controlled data as the header of an empty file, which is then exported using the `/3/Frames/framename/export` endpoint. The impact of this vulnerability includes the potential for remote code execution and complete access to the system running h2o-3, as attackers can overwrite critical files such as private SSH keys or script files.","ecosystems":["Maven","PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Remote Arbitrary File Write with Arbitrary Data in h2oai/h2o-3","id":"CVE-2024-5986","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":5,"n_references":1,"next":{"headline":"WP Accessibility Helper \u003c= 0.6.2.8 - Missing Authorization to Authenticated (Subscriber+) Limited Settings Update","id":"CVE-2024-5987"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["3.46.0.1"],"package":"ai.h2o:h2o-core","purl":null,"source":"GHSA-wj3h-wx8g-x699"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["3.46.0.1"],"package":"ai.h2o:h2o-core","purl":"pkg:maven/ai.h2o/h2o-core","source":"GHSA-wj3h-wx8g-x699"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["3.46.0.1"],"package":"h2o","purl":null,"source":"GHSA-wj3h-wx8g-x699"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["3.46.0.1"],"package":"h2o","purl":"pkg:pypi/h2o","source":"GHSA-wj3h-wx8g-x699"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["3.46.0.1"],"package":"h2o","purl":"pkg:pypi/h2o","source":"PYSEC-2026-353"}],"prev":{"headline":"SourceCodester Best Online News Portal index.php sql injection","id":"CVE-2024-5985"},"products":["h2oai/h2o-3"],"published":"2026-02-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-02","vendors":["h2oai"]},"summary":"Remote attackers can write arbitrary data to any file on the server via the Parse and export endpoints, potentially leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2024-5986/"}