SaltStack - Authentication Bypass (CVE-2021-25281)
Description
An issue was discovered in through SaltStack Salt before 3002.5. salt-api does not honor eauth credentials for the wheel_async client. Thus, an attacker can remotely run any wheel modules on the master.
psychologyCrowdSec Analysis
CVE-2021-25281 is a critical vulnerability in SaltStack Salt before version 3002.5, where the salt-api fails to enforce eauth credentials for the wheel_async client. This flaw allows remote attackers to execute arbitrary wheel modules on the Salt master, potentially leading to full system compromise.
CrowdSec has been tracking this vulnerability and its exploits since 7th of January 2026.
CrowdSec network observations suggest that most exploitation of CVE-2021-25281 involves focused reconnaissance to identify viable targets. Attackers typically tailor their campaigns based on system exposure and configuration. It is unlikely that a given attack is accidental. CrowdSec data also reveals a clear uptick in attacks involving CVE-2021-25281 over the past week. Activity is above the usual baseline, suggesting growing attention from attackers. This may reflect rising awareness, recent exploit releases, or expanded targeting efforts.
Attackers exploit this vulnerability by sending unauthenticated POST requests to the /run endpoint with a JSON body specifying the client parameter as wheel_async, allowing them to bypass authentication and execute arbitrary wheel modules on the Salt master.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2021-02-27 |
| Rule Released | 2026-01-07 |
| CrowdSec First Seen | 2026-01-14 |
Remediation & Protection
External References
- https://github.com/saltstack/salt/releases
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/
- https://www.debian.org/security/2021/dsa-5011
- https://security.gentoo.org/glsa/202103-01
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/
- https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/
- http://packetstormsecurity.com/files/162058/SaltStack-Salt-API-Unauthenticated-Remote-Command-Execution.html
- https://security.gentoo.org/glsa/202310-22
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25281.yaml