Skip to main content
← All vulnerabilities
CVE-2025-22240GHSA-XH32-3M67-QJGFPYSEC-2026-1903

CVE-2025-22240 salt advisory

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3006.12, 3007.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Salt

    From 3006.x · fixed in 3006.12; From 3007.x · fixed in 3007.4

  • saltPyPI

    From 3007.0rc1 · fixed in 3007.4

  • saltPyPI

    From 3006.0rc1 · fixed in 3006.12

  • saltPyPI

    From 3006.0rc1 · fixed in 3006.12; From 3007.0rc1 · fixed in 3007.4

References 2

docs.saltproject.io