CVE-2025-22240 Affecting salt package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.1% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-SALT-10363388
  • published4 Apr 2026
  • disclosed13 Jun 2025

Introduced: 13 Jun 2025

CVE-2025-22240  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:22.04 salt.

NVD Description

Note: Versions mentioned in the description apply only to the upstream salt package and not the salt package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1