Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. salt
  4. ›
  5. CVE-2025-22237

CVE-2025-22237: Salt's on demand pillar functionality vulnerable to arbitrary command injections

June 13, 2025

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.

References

  • docs.saltproject.io/en/3006/topics/releases/3006.12.html
  • docs.saltproject.io/en/3007/topics/releases/3007.4.html
  • github.com/advisories/GHSA-fcr4-h6c4-rvvp
  • github.com/saltstack/salt
  • github.com/saltstack/salt/commit/9445f496fed61b15dc4364818007e5b765b0746f
  • nvd.nist.gov/vuln/detail/CVE-2025-22237

Code Behaviors & Features

Detect and mitigate CVE-2025-22237 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3006.0rc1 before 3006.12, all versions starting from 3007.0rc1 before 3007.4

Fixed versions

  • 3006.12
  • 3007.4

Solution

Upgrade to versions 3006.12, 3007.4 or above.

Impact 6.7 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

pypi/salt/CVE-2025-22237.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:23 +0000.