Advisory

GHSA-fcr4-h6c4-rvvp

Also known as: CVE-2025-22237, PYSEC-2026-1898

Summary

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

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-06-13 09:30 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

salt

PyPI · All systems

Affected

  • introduced 3006.0rc1, fixed 3006.12 (ecosystem)

Fixed versions

3006.12

Fix

  • Fixed version 3006.12
    pip install --upgrade salt==3006.12

salt

PyPI · All systems

Affected

  • introduced 3007.0rc1, fixed 3007.4 (ecosystem)

Fixed versions

3007.4

Fix

  • Fixed version 3007.4
    pip install --upgrade salt==3007.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences