CVE-2025-22240

MEDIUMCVSS 6.3/10EPSS 0.14%

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
6.3/10

CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
0.14%

3.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2025-22240?
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.
How severe is CVE-2025-22240?
CVE-2025-22240 has a CVSS score of 6.3/10 (MEDIUM severity). The EPSS model estimates a 0.14% probability of exploitation in the next 30 days.
How do I fix CVE-2025-22240?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2025-22240?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST