GHSA-xh32-3m67-qjgfMediumCVSS 6.3

Salt allows arbitrary directory creation or file deletion

Published
June 13, 2025
Last Modified
June 13, 2025

🔗 CVE IDs covered (1)

📋 Description

Arbitrary directory creation or file deletion. In the find_file method of the GitFS class, a path is created using os.path.join using unvalidated input from the “tgt_env” variable. This can be exploited by an attacker to delete any file on the Master's process has permissions to.

🎯 Affected products2

  • pip/salt:>= 3007.0rc1, < 3007.4
  • pip/salt:>= 3006.0rc1, < 3006.12

🔗 References (5)