CVE-2022-22941
SaltStack Salt Permissions Bypass
Also known as GHSA-qcr3-hr2f-6557, PYSEC-2022-174
Mitigation
- Upgrade salt to one of 3002.8, 3003.4, 3004.1 (or later in the same release line).
Who should check
- Projects that depend on PyPI package salt (< 3002.8)
- Anyone running SaltStack Salt SaltStack Salt prior to 3002.8, 3003.4, 3004.1
Vulnerability facts
- Affected
- salt < 3002.8
- Fixed in
- 3002.8, 3003.4, 3004.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.11% chance of exploitation in 30 days (percentile 66, 2026-11-26)
- CWE
- CWE-732
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI salt | < 3002.8 | 3002.8, 3003.4, 3004.1 | osv |
| SaltStack Salt | SaltStack Salt prior to 3002.8, 3003.4, 3004.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-22941. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-22941.md Affected: salt < 3002.8 Fixed in: 3002.8, 3003.4, 3004.1 Steps: 1. Search this machine and project for salt (PyPI), SaltStack Salt: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://saltproject.io/security_announcements/salt-security-advisory-release/%2C
- https://github.com/saltstack/salt/releases%2C
- https://repo.saltproject.io/
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2022-174.yaml
- https://github.com/saltstack/salt
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.8.rst#L31
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3003.4.rst#L32
- https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3004.1.rst#L30
- https://github.com/saltstack/salt/releases,
FAQ
Is CVE-2022-22941 being exploited?
There is no confirmed exploitation: CVE-2022-22941 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.11% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-22941?
High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2022-22941?
salt < 3002.8.
Is there a fix for CVE-2022-22941?
Yes. Fixed in 3002.8, 3003.4, 3004.1. Upgrade salt to one of 3002.8, 3003.4, 3004.1 (or later in the same release line).
How do I check if I'm affected by CVE-2022-22941?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.