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?
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
