CVE-2025-22240
Last modified
CVE-2025-22240 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-22240?
How severe is CVE-2025-22240?
How do I fix CVE-2025-22240?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-22235EndpointRequest.to() creates a matcher for null/** if the ac…7.3
- CVE-2025-22236Minion event bus authorization bypass. An attacker with acce…8.1
- CVE-2025-22237An attacker with access to a minion key can exploit the 'on …6.7
- CVE-2025-22238Directory traversal attack in minion file cache creation. Th…4.2
- CVE-2025-22239Arbitrary event injection on Salt Master. The master's "_min…8.1
- CVE-2025-2224The Directorist: AI-Powered Business Directory Plugin with C…5.3
- CVE-2025-22241File contents overwrite the VirtKey class is called when “on…5.6
- CVE-2025-22242Worker process denial of service through file read operation…5.6
- CVE-2025-22243VMware NSX Manager UI is vulnerable to a stored Cross-Site S…7.5
- CVE-2025-22244VMware NSX contains a stored Cross-Site Scripting (XSS) vuln…6.9
- CVE-2025-22245VMware NSX contains a stored Cross-Site Scripting (XSS) vuln…5.9
- CVE-2025-22246Cloud Foundry UAA release versions from v77.21.0 to v7.31.0 …7.5
Are you affected by CVE-2025-22240?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
