# CVE-2022-22967: Salt's PAM auth fails to reject locked accounts

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.03% (percentile 63, 2026-11-26)
- **CWE:** CWE-863
- **Aliases:** GHSA-fpxm-fprw-6hxj, PYSEC-2022-210
- **Published:** 2022-06-22T00:00:00.000Z
- **Modified:** 2026-06-17T04:29:15.923Z

## Who should check

- Projects that depend on PyPI package salt (\< 3002.9)
- Anyone running SaltStack Salt SaltStack Salt prior to 3002.9, 3003.5, 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.

## Affected and fixed versions

- PyPI `salt`: affected \< 3002.9; fixed 3002.9, 3003.5, 3004.2 (osv)
- SaltStack Salt: SaltStack Salt prior to 3002.9, 3003.5, 3004.2 (cvelist)

## Mitigation

- Upgrade salt to one of 3002.9, 3003.5, 3004.2 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-22967. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-22967.md
Affected: salt < 3002.9
Fixed in: 3002.9, 3003.5, 3004.2

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.
```

## FAQ

### Is CVE-2022-22967 being exploited?

There is no confirmed exploitation: CVE-2022-22967 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.03% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-22967?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2022-22967?

salt \< 3002.9.

### Is there a fix for CVE-2022-22967?

Yes. Fixed in 3002.9, 3003.5, 3004.2. Upgrade salt to one of 3002.9, 3003.5, 3004.2 (or later in the same release line).

### How do I check if I'm affected by CVE-2022-22967?

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.

## References

- vendor: <https://repo.saltproject.io/>
- vendor: <https://security.gentoo.org/glsa/202310-22>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-22967>
- vendor: <https://github.com/advisories/GHSA-fpxm-fprw-6hxj>
- vendor: <https://saltproject.io/security_announcements/salt-security-advisory-release-june-21st-2022/,>
- other: <https://saltproject.io/security_announcements/salt-security-advisory-release-june-21st-2022/%2C>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2022-210.yaml>
- other: <https://github.com/saltstack/salt>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-22967>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-fpxm-fprw-6hxj> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2022-210> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-22967> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-22967>
