VDB
Sign up
MEDIUM6.7

PYSEC-2026-1898

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

Quick fix

PYSEC-2026-1898 — salt: upgrade to the fixed version with the command below.

pip install --upgrade 'salt>=3006.12'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/salt
Introduced in: 3006.0rc1Fixed in: 3006.12
Fixpip install --upgrade 'salt>=3006.12'

References