Arbitrary Command Injection Affecting salt package, versions [,3006.12)[3007.0rc1,3007.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-SALT-10350452
  • published13 Jun 2025
  • disclosed13 Jun 2025
  • creditUnknown

Introduced: 13 Jun 2025

NewCVE-2025-22237  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade salt to version 3006.12, 3007.4 or higher.

Overview

salt is a new approach to infrastructure management built on a dynamic communication bus. Salt can be used for data-driven orchestration, remote execution for any infrastructure, configuration management for any app stack, and much more.

Affected versions of this package are vulnerable to Arbitrary Command Injection via the on demand pillar process when a specially crafted git URL is provided. An attacker can execute arbitrary commands on the master with the same privileges as the master process by exploiting access to a minion key.

CVSS Base Scores

version 4.0
version 3.1