Mattermost Fails to Sanitize Path Traversal Sequences
        
  Moderate severity
        
          GitHub Reviewed
      
        Published
          Aug 21, 2025 
          to the GitHub Advisory Database
          •
          Updated Aug 29, 2025 
      
  
Package
Affected versions
>= 10.8.0, <= 10.8.3
      >= 10.5.0, <= 10.5.8
      >= 9.11.0, <= 9.11.17
      >= 10.9.0, <= 10.9.2
  Patched versions
10.8.4
      10.5.9
      9.11.18
      10.9.3
  < 8.0.0-20250708065844-b38e2eccda18
  8.0.0-20250708065844-b38e2eccda18
  Description
        Published by the National Vulnerability Database
      Aug 21, 2025 
    
  
        Published to the GitHub Advisory Database
      Aug 21, 2025 
    
  
        Reviewed
      Aug 21, 2025 
    
  
        Last updated
      Aug 29, 2025 
    
  
Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2 fails to sanitize path traversal sequences in template file destination paths, which allows a system admin to perform path traversal attacks via malicious path components, potentially enabling malicious file placement outside intended directories.
References