# CVE-2021-25282: SaltStack Salt Directory Traversal vulnerability

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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): 92.6%, higher than 100% of CVEs (2026-11-29)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-27T00:00:00.000Z
- Modified: 2026-06-17T03:41:45.747Z
- Also known as: GHSA-76x4-x3p6-rpr9, PYSEC-2021-51
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

An issue was discovered in through SaltStack Salt before 3002.5. The salt.wheel.pillar_roots.write method is vulnerable to directory traversal.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- salt (PyPI): before 2015.8.13; from 2016.3.0 before 2016.11.5; from 2016.11.7 before 2016.11.10; from 2017.5.0 before 2017.7.8; from 2018.2.0 up to 2018.3.5; from 2019.2.0 before 2019.2.8; from 3000 before 3000.7; from 3001 before 3001.5; from 3002 before 3002.3; before 2015.8.10; from 2015.8.11 before 2015.8.13; from 2016.3.0 before 2016.3.4; and 11 more
- saltstack salt: before 2015.8.10; from 2015.8.11 before 2015.8.13; from 2016.3.0 before 2016.3.4; from 2016.3.5 before 2016.3.6; from 2016.3.7 before 2016.3.8; from 2016.3.9 before 2016.11.3; from 2016.11.4 before 2016.11.5; from 2016.11.7 before 2016.11.10; from 2017.5.0 before 2017.7.8; from 2018.2.0 up to 2018.3.5; from 2019.2.0 before 2019.2.5; from 2019.2.6 before 2019.2.8; and 3 more
- fedoraproject fedora: 32; 33; 34
- debian debian_linux: 9.0; 10.0; 11.0

## Every score

- GitHub: CVSS:3.1 9.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:P`

## References

- <http://packetstormsecurity.com/files/162058/SaltStack-Salt-API-Unauthenticated-Remote-Command-Execution.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://github.com/saltstack/salt/releases> (third-party-advisory, web)
- <https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202103-01> (advisory, third-party-advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html> (mailing-list, third-party-advisory, web)
- <https://www.debian.org/security/2021/dsa-5011> (third-party-advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html> (mailing-list, third-party-advisory, web)
- <https://security.gentoo.org/glsa/202310-22> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25282> (advisory)
- <https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB> (web)
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.3.rst#L31> (web)
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.5.rst#L31> (web)
- <https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.7.rst#L31> (web)
- <https://github.com/saltstack/salt> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-51.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/> (web)
- <https://github.com/advisories/GHSA-76x4-x3p6-rpr9> (advisory)

## Sources

- CVE List: [CVE-2021-25282](https://www.cve.org/CVERecord?id=CVE-2021-25282), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-76x4-x3p6-rpr9](https://github.com/advisories/GHSA-76x4-x3p6-rpr9), CC-BY-4.0, modified 2024-10-26
- NVD: [CVE-2021-25282](https://nvd.nist.gov/vuln/detail/CVE-2021-25282), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-51](https://osv.dev/vulnerability/PYSEC-2021-51), CC-BY-4.0, modified 2026-06-10

---

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