PyPA Advisory Database
PYSEC-2026-1900
Directory creation by malicious user in saltstack
Details
Syndic cache directory creation is vulnerable to a directory traversal attack in salt project which can lead a malicious attacker to create an arbitrary directory on a Salt master.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | salt | All versions before 3005.5 (fixed in 3005.5) From 3006.0 before 3006.6 (fixed in 3006.6) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-22231
- https://github.com/saltstack/salt/commit/e0cdb80b55123f4a024759ffcf2b3f0e0788e7ab
- https://github.com/saltstack/salt
- https://saltproject.io/security-announcements/2024-01-31-advisory
- https://pypi.org/project/salt
- https://github.com/advisories/GHSA-q27c-j6j9-53w3