CVE-2025-22237: SaltStack Salt - Command Injection
- Cve: CVE-2025-22237
- Name: SaltStack Salt - Command Injection
- Description: An attacker with access to a minion key can exploit the 'on demand' pillar functionality with a specially crafted git url which could cause and arbitrary command to be run on the master with the same privileges as the master process.
- Impact: Attackers with minion key can execute arbitrary commands on the master, potentially leading to full system compromise.
- Remediation: Update to the latest version with the fix for 'on demand' pillar functionality.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs access to a minion key
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.7
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00187
- Epss percentile: 0.083
- Assignee: [email protected]
- Published at: 2025-06-13T07:15:21Z
- Age in days: 529
- Modified at: 2026-06-17T08:45:49Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-22237
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
References
| Url | Source | Tags |
|---|---|---|
| https://docs.saltproject.io/en/3006/topics/releases/3006.12.html | nvd | |
| https://docs.saltproject.io/en/3007/topics/releases/3007.4.html | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| saltstack:salt | >= 3007.x, < 3007.4; >= 3006.x, < 3006.12 | no | cna_alias | /v1/products/saltstack/salt |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| saltstack/salt | commit, package | yes | /v1/repositories/saltstack/salt |
Index
- Repositories: 1
- Repositories high signal: 1
- Checked, none or zero: packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts