{"id":"CVE-2024-22231","aliases":["GHSA-q27c-j6j9-53w3","PYSEC-2026-1900"],"title":"Directory creation by malicious user in saltstack","summary":"Directory creation by malicious user in saltstack","severity":"medium","cvss":5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","vendor":"salt","product":"salt","ecosystem":"pip","affected":["salt < 3005.5","salt >= 3006.0, < 3006.6"],"patched":["salt 3005.5","salt 3006.6"],"published":"2024-06-27","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-q27c-j6j9-53w3","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22231"},{"url":"https://github.com/saltstack/salt/commit/e0cdb80b55123f4a024759ffcf2b3f0e0788e7ab"},{"url":"https://github.com/saltstack/salt"},{"url":"https://saltproject.io/security-announcements/2024-01-31-advisory"}],"tags":["osv","pip"],"epss":0.00693,"epssPercentile":0.50805,"ingestedAt":"2026-07-08T18:25:52.056Z","slug":"CVE-2024-22231","body":"## Overview\n\nSyndic 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.\n\n## Affected packages\n\n- `salt < 3005.5`\n- `salt >= 3006.0, < 3006.6`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `salt 3005.5`\n- `salt 3006.6`","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}