Skip to main content

Improper Neutralization of Special Elements used in a Command ('Command Injection')

CVE-2025-22237

Severity Medium
Score 6.7/10

Summary

An attacker with access to a minion key can exploit the 'on demand' pillar functionality with a specially crafted Git URL, which could cause an arbitrary command to be run on the master with the same privileges as the master process. This issue affects versions 0.15.90 through 3006.11 and 3007.0rc1 through 3007.3.

  • LOW
  • LOCAL
  • HIGH
  • UNCHANGED
  • NONE
  • HIGH
  • HIGH
  • HIGH

CWE-77 - Command Injection

A command injection attack involves injecting an operating system command through the data input, which gets executed on the host operating system with the privileges of the victimized application. The impact of a command injection attack may range from loss of data confidentiality and integrity to unauthorized remote access to the hosting system. The attack may cause serious data breaches and system takeover.

Advisory Timeline

  • Published