CVE-2025-22240
mediumpriority · track · 0EPSS 0.002 · 5 %ileDEEURUUSEPSS · scored 2026-10-22
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (60)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1321SaltStack Salt: Mehrere SchwachstellenDeutsch2025-06-12csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in SaltStack Salt ausnutzen, um Sicherheitsvorkehrungen zu umgehen, Dateien zu manipulieren, beliebigen Programmcode auszuführen, einen Denial-of-Service auszulösen oder weitere nicht spezifizierte Auswirkungen zu erzielen.
- GHSA-xh32-3m67-qjgfSalt allows arbitrary directory creation or file deletion2025-06-13ghsa · osvUS
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.
- PYSEC-2026-1903Salt allows arbitrary directory creation or file deletion2026-07-07vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.htmlcnnvd
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.htmlcnnvd
- https://packages.broadcom.com/artifactory/saltproject-generic/Patchcnnvd
- https://vigilance.fr/vulnerability/SaltStack-Salt-multiple-vulnerabilities-dated-12-06-2025-47421cnnvd
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.htmlenisa_euvd
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.htmlenisa_euvd
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.htmlnvd
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.htmlnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan