Command Injection in SaltStack Salt
Published Apr 23, 2021 · Updated Nov 3, 2026
Original summary
Normalized public record · Updated Nov 3, 2026
Command Injection in SaltStack Salt
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows for local privilege escalation on a minion. The attack requires that a file is created with a pathname that is backed up by snapper, and that the master calls the snapper.diff function (which executes popen unsafely).
Evidence: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- MEDIUM
- Confidence
- Not available
- Aliases
- None reported
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
- sec.stealthcopter.com ↗
- FEDORA-2021-5aaebdae8e ↗
- FEDORA-2021-00ada7e667 ↗
- FEDORA-2021-93a7c8b7c6 ↗
- FEDORA-2021-158e9c6eb9 ↗
- [debian-lts-announce] 20211110 [SECURITY] [DLA 2815-1] salt security update ↗
- DSA-5011 ↗
- GLSA-202310-22 ↗
Record history
Published Apr 23, 2021 · Last refreshed Nov 3, 2026