PyPI: salt

CVE-2021-22004

Safety vulnerability ID: SFTY-20210908-87298

Safety legacy ID: pyup.io-41922

Salt versions 3002.7 and 3003.3 include a fix for CVE-2021-22004: An issue was discovered in SaltStack Salt before 3003.3. The salt minion installer will accept and use a minion config file at C:\salt\conf if that file is in place before the installer is run. This allows for a malicious actor to subvert the proper behaviour of the given minion software.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Improper Authentication in SaltStack Salt

Advisory

Salt versions 3002.7 and 3003.3 include a fix for CVE-2021-22004: An issue was discovered in SaltStack Salt before 3003.3. The salt minion installer will accept and use a minion config file at C:\salt\conf if that file is in place before the installer is run. This allows for a malicious actor to subvert the proper behaviour of the given minion software.

Affected Package

Affecting salt package, versions<3002.7>3002.7,<3003.3

Also affects

---

How to Fix

Upgradesaltto3002.73003.3or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more