Arbitrary Directory Creation and File Deletion in SaltStack's GitFS
CVE-2025-22240
6.3MEDIUM
What is CVE-2025-22240?
A vulnerability exists within the GitFS class in SaltStack, specifically in the find_file method, where paths are constructed using unvalidated input from the 'tgt_env' variable. An attacker can exploit this weakness to perform arbitrary directory creation or delete any file, provided they have sufficient permissions within the Master's process. This could lead to severe disruptions and data loss, making it critical to address this issue promptly.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
SALT 3006.x < 3006.12
SALT 3007.x < 3007.4
References
CVSS V3.1
Score:
6.3
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
High
User Interaction:
Required
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved