CVE-2025-22240 | CVE-2025-22240 salt advisory

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.

Published: 2025-06-13 Last update: 2026-04-15 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-22240 is rated Low Risk (34.5/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.10%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-22240

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-09 0.01% 0.10% +0.09%
2 2025-06-13 0.01%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-22240

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.3 3.1 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
0.3 5.9 [email protected]

Weakness enumeration for CVE-2025-22240

GitHub Security Advisory for CVE-2025-22240

GHSA-xh32-3m67-qjgf · Severity: medium · Ecosystem: pip — Salt allows arbitrary directory creation or file deletion

OS Trackers for CVE-2025-22240

vendor priority summary link
alpine medium CVE-2025-22240: 1 source package rows (salt); 8 state rows across 2 repos (3.22-community, edge-community); fixed 0, open 8. https://security.alpinelinux.org/vuln/CVE-2025-22240
suse medium https://www.suse.com/security/cve/CVE-2025-22240/
ubuntu medium CVE-2025-22240 medium priority: Ubuntu including 1 source packages (salt), 9 status rows across 9 suites (bionic, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 4, needs-triage 3, needed 1, released 1. https://ubuntu.com/security/CVE-2025-22240

Affected software / configurations for CVE-2025-22240

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2025-22240

cvelogic Threat Intelligence