Salt allows arbitrary directory creation or file deletion
Moderate severity
GitHub Reviewed
Published
Jun 13, 2025
to the GitHub Advisory Database
•
Updated Jun 13, 2025
Package
Affected versions
>= 3007.0rc1, < 3007.4
>= 3006.0rc1, < 3006.12
Patched versions
3007.4
3006.12
Description
Published by the National Vulnerability Database
Jun 13, 2025
Published to the GitHub Advisory Database
Jun 13, 2025
Reviewed
Jun 13, 2025
Last updated
Jun 13, 2025
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.
References