All reports
Medium

Salt's on demand pillar functionality vulnerable to arbitrary command injections

Affected versions

Version ranges need review.

PyPIsalt
Affected versions
>= 3006.0rc1, < 3006.12
Fixed version
3006.12
PyPIsalt
Affected versions
>=3006.0rc1 <3006.12 || >=3007.0rc1 <3007.4
Fixed version
3006.12 · 3007.4
PyPIsalt
Affected versions
>= 3007.0rc1, < 3007.4
Fixed version
3007.4

Exploitation

CVE-2025-22237

Probability of exploitation in the next 30 days: 0.19%

FIRST EPSS · 2026-11-18

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.

Links