SaltStack Salt Permissions Bypass
Published 30 Mar 2022 · Updated 22 Oct 2024
Is your project on an affected salt?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <3002.8
- Fixed in
- 3002.8
pip install 'salt>=3002.8'- Affected
- >=3003 <3003.4
- Fixed in
- 3003.4
pip install 'salt>=3003.4'- Affected
- >=3004 <3004.1
- Fixed in
- 3004.1
pip install 'salt>=3004.1'Details
An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1. When configured as a Master-of-Masters, with a publisher_acl, if a user configured in the publisher_acl targets any minion connected to the Syndic, the Salt Master incorrectly interpreted no valid targets as valid, allowing configured users to target any of the minions connected to the syndic with their configured commands. This requires a syndic master combined with publisher_acl configured on the Master-of-Masters, allowing users specified in the publisher_acl to bypass permissions, publishing authorized commands to any configured minion.
Is GHSA-qcr3-hr2f-6557 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected salt, and gives you the command that fixes it.
More advisories for salt
- HighCVE-2025-62348Salt junos Module Vulnerable to Code Injection via Specially Crafted YAML Payload · 30 Jan 2026
- HighCVE-2025-62349Salt Authentication Protocol Version Downgrade Allows Minion Impersonation · 30 Jan 2026
- CriticalCVE-2024-38824Salt vulnerable to directory traversal attack in file receiving method · 13 Jun 2025
- MediumCVE-2025-22242Salt's worker process vulnerable to denial of service through file read operation · 13 Jun 2025
- HighCVE-2025-22239Salt vulnerable to arbitrary event injection · 13 Jun 2025
- HighCVE-2025-22236Salt has minion event bus authorization bypass vulnerability · 13 Jun 2025
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-22941
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2022-174.yaml
- Packagegithub.com/saltstack/salt
- Linkgithub.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.8.rst#L31
- Linkgithub.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3003.4.rst#L32
- Linkgithub.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3004.1.rst#L30
- Linkrepo.saltproject.io
- Linksecurity.gentoo.org/glsa/202310-22
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.