Medium severity6.3GHSA Advisory· Published Jun 13, 2025· Updated Jun 17, 2026
CVE-2025-22240
CVE-2025-22240
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
saltPyPI | >= 3007.0rc1, < 3007.4 | 3007.4 |
saltPyPI | >= 3006.0rc1, < 3006.12 | 3006.12 |
Affected products
49- ghsa-coords48 versionspkg:pypi/saltpkg:rpm/opensuse/salt&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/salt&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/salt-test&distro=openSUSE%20Leap%2015.6pkg:rpm/suse/release-notes-susemanager&distro=SUSE%20Manager%20Server%204.3pkg:rpm/suse/release-notes-susemanager-proxy&distro=SUSE%20Manager%20Proxy%204.3pkg:rpm/suse/saltbundlepy-core&distro=SUSE:EL-9:Update:Products:SaltBundle:Updatepkg:rpm/suse/saltbundlepy-cython&distro=SUSE:EL-9:Update:Products:SaltBundle:Updatepkg:rpm/suse/saltbundlepy&distro=SUSE:EL-9:Update:Products:SaltBundle:Updatepkg:rpm/suse/saltbundlepy-jinja2&distro=SUSE:EL-9:Update:Products:SaltBundle:Updatepkg:rpm/suse/saltbundlepy-lxml&distro=SUSE:EL-9:Update:Products:SaltBundle:Updatepkg:rpm/suse/saltbundlepy-m2crypto&distro=SUSE:EL-9:Update:Products:SaltBundle:Updatepkg:rpm/suse/saltbundlepy-msgpack&distro=SUSE:EL-9:Update:Products:SaltBundle:Updatepkg:rpm/suse/saltbundlepy-ply&distro=SUSE:EL-9:Update:Products:SaltBundle:Updatepkg:rpm/suse/saltbundlepy-tornado&distro=SUSE:EL-9:Update:Products:SaltBundle:Updatepkg:rpm/suse/saltbundlepy-zypp-plugin&distro=SUSE:EL-9:Update:Products:SaltBundle:Updatepkg:rpm/suse/salt&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP6pkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Systems%20Management%2015%20SP7pkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Transactional%20Server%2015%20SP6pkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/salt&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/salt&distro=SUSE%20Linux%20Micro%206.0pkg:rpm/suse/salt&distro=SUSE%20Linux%20Micro%206.1pkg:rpm/suse/salt&distro=SUSE%20Manager%20Proxy%204.3pkg:rpm/suse/salt&distro=SUSE%20Manager%20Server%204.3pkg:rpm/suse/venv-salt-minion&distro=SUSE%20Manager%20Client%20Tools%2012pkg:rpm/suse/venv-salt-minion&distro=SUSE%20Manager%20Client%20Tools%2015pkg:rpm/suse/venv-salt-minion&distro=SUSE%20Manager%20Client%20Tools%20for%20RHEL,%20Liberty%20and%20Clones%209-CLIENT-TOOLSpkg:rpm/suse/venv-salt-minion&distro=SUSE%20Manager%20Client%20Tools%20for%20SLE%20Micro%205pkg:rpm/suse/venv-salt-minion&distro=SUSE%20Manager%20Proxy%20Module%204.3pkg:rpm/suse/venv-salt-minion&distro=SUSE%20Manager%20Server%20Module%204.3pkg:rpm/suse/venv-salt-minion&distro=SUSE:EL-9:Update:Products:SaltBundle:Update
>= 3007.0rc1, < 3007.4+ 47 more
- (no CPE)range: >= 3007.0rc1, < 3007.4
- (no CPE)range: < 3006.0-150500.4.55.1
- (no CPE)range: < 3006.0-41.1
- (no CPE)range: < 3006.0-150500.4.55.1
- (no CPE)range: < 4.3.16-150400.3.140.1
- (no CPE)range: < 4.3.16-150400.3.98.1
- (no CPE)range: < 3.11.11-1.32.1
- (no CPE)range: < 0.29.37-1.12.2
- (no CPE)range: < 3.11.11-1.32.1
- (no CPE)range: < 3.1.2-1.12.2
- (no CPE)range: < 4.9.4-1.21.1
- (no CPE)range: < 0.45.1-1.12.1
- (no CPE)range: < 1.0.7-1.14.1
- (no CPE)range: < 3.11-1.8.1
- (no CPE)range: < 6.3.2-1.12.2
- (no CPE)range: < 0.6.5-1.11.1
- (no CPE)range: < 3006.0-150300.53.94.1
- (no CPE)range: < 3006.0-150300.53.94.1
- (no CPE)range: < 3006.0-150400.8.80.1
- (no CPE)range: < 3006.0-150400.8.80.1
- (no CPE)range: < 3006.0-150500.4.55.1
- (no CPE)range: < 3006.0-150500.4.55.1
- (no CPE)range: < 3006.0-150300.53.94.1
- (no CPE)range: < 3006.0-150300.53.94.1
- (no CPE)range: < 3006.0-150400.8.80.1
- (no CPE)range: < 3006.0-150400.8.80.1
- (no CPE)range: < 3006.0-150500.4.55.1
- (no CPE)range: < 3006.0-150500.4.55.1
- (no CPE)range: < 3006.0-150500.4.55.1
- (no CPE)range: < 3006.0-150700.14.5.2
- (no CPE)range: < 3006.0-150500.4.55.1
- (no CPE)range: < 3006.0-150300.53.94.1
- (no CPE)range: < 3006.0-150400.8.80.1
- (no CPE)range: < 3006.0-150500.4.55.1
- (no CPE)range: < 3006.0-150300.53.94.1
- (no CPE)range: < 3006.0-150400.8.80.1
- (no CPE)range: < 3006.0-150500.4.55.1
- (no CPE)range: < 3006.0-13.1
- (no CPE)range: < 3006.0-slfo.1.1_4.1
- (no CPE)range: < 3006.0-150400.8.80.1
- (no CPE)range: < 3006.0-150400.8.80.1
- (no CPE)range: < 3006.0-3.76.2
- (no CPE)range: < 3006.0-150000.3.78.1
- (no CPE)range: < 3006.0-1.59.1
- (no CPE)range: < 3006.0-150000.3.78.1
- (no CPE)range: < 3006.0-150000.3.78.1
- (no CPE)range: < 3006.0-150000.3.78.1
- (no CPE)range: < 3006.0-1.59.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-xh32-3m67-qjgfghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-22240ghsaADVISORY
- docs.saltproject.io/en/3006/topics/releases/3006.12.htmlnvdWEB
- docs.saltproject.io/en/3007/topics/releases/3007.4.htmlnvdWEB
- github.com/saltstack/salt/commit/f7c28ffbf18dbf693a15b1ba9493918de3e88cf3ghsaWEB
News mentions
0No linked articles in our index yet.