# CVE-2021-25315: salt-api unauthenticated remote code execution

- Severity: Critical 9.8 (CVSS:3.1, scored by suse) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.39%, higher than 84% of CVEs (2026-12-01)
- Published: 2021-03-03T09:55:16.356Z
- Modified: 2026-06-17T03:41:48.830Z
- Also known as: GHSA-pmj6-9f8c-8g2m, PYSEC-2021-891
- Weaknesses: CWE-287, CWE-303
- Assigned by: suse

## Description

CWE - CWE-287: Improper Authentication vulnerability in SUSE Linux Enterprise Server 15 SP 3; openSUSE Tumbleweed allows local attackers to execute arbitrary code via salt without the need to specify valid credentials. This issue affects: SUSE Linux Enterprise Server 15 SP 3 salt versions prior to 3002.2-3. openSUSE Tumbleweed salt version 3002.2-2.1 and prior versions. This issue affects: SUSE Linux Enterprise Server 15 SP 3 salt versions prior to 3002.2-3. openSUSE Tumbleweed salt version 3002.2-2.1 and prior versions.

(As written by CVE List.)

## Affected

- SUSE SUSE Linux Enterprise Server 15 SP 3: from salt before 3002.2-3
- openSUSE Tumbleweed: from salt up to 3002.2-2.1
- salt (PyPI): before 3002.2
- saltstack salt: before 3002.2

## Every score

- suse: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1182382> (advisory, issue-tracking, report, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25315> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-891.yaml> (web)
- <https://github.com/saltstack/salt> (package)
- <https://github.com/advisories/GHSA-pmj6-9f8c-8g2m> (advisory)

## Sources

- CVE List: [CVE-2021-25315](https://www.cve.org/CVERecord?id=CVE-2021-25315), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-pmj6-9f8c-8g2m](https://github.com/advisories/GHSA-pmj6-9f8c-8g2m), CC-BY-4.0, modified 2025-04-09
- NVD: [CVE-2021-25315](https://nvd.nist.gov/vuln/detail/CVE-2021-25315), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-891](https://osv.dev/vulnerability/PYSEC-2021-891), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2021-25315 · Whole record: https://cve.day/CVE-2021-25315.json · Rebuilt by cve.day 2026-11-25T22:58:00.124Z
