Mercurial Path Traversal/Link Following vulnerability
        
  Moderate severity
        
          GitHub Reviewed
      
        Published
          Feb 15, 2022 
          to the GitHub Advisory Database
          •
          Updated Sep 25, 2024 
      
  
Description
        Published by the National Vulnerability Database
      Apr 22, 2019 
    
  
        Published to the GitHub Advisory Database
      Feb 15, 2022 
    
  
        Reviewed
      May 1, 2024 
    
  
        Last updated
      Sep 25, 2024 
    
  
A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.
References