H2O Vulnerable to Arbitrary File Overwrite
        
  High severity
        
          GitHub Reviewed
      
        Published
          Mar 20, 2025 
          to the GitHub Advisory Database
          •
          Updated Mar 20, 2025 
      
  
Description
        Published by the National Vulnerability Database
      Mar 20, 2025 
    
  
        Published to the GitHub Advisory Database
      Mar 20, 2025 
    
  
        Reviewed
      Mar 20, 2025 
    
  
        Last updated
      Mar 20, 2025 
    
  
In h2oai/h2o-3 version 3.46.0, the
/99/Models/{name}/jsonendpoint allows for arbitrary file overwrite on the target server. The vulnerability arises from theexportModelDetailsfunction inModelsHandler.java, where the user-controllablemexport.dirparameter is used to specify the file path for writing model details. This can lead to overwriting files at arbitrary locations on the host system.References