{"id":"PYSEC-2026-1901","summary":"Salt vulnerable to directory traversal attack in minion file cache creation","details":"Directory traversal attack in minion file cache creation. The master's default cache is vulnerable to a directory traversal attack. Which could be leveraged to write or overwrite 'cache' files outside of the cache directory.","aliases":["CVE-2025-22238","GHSA-r546-h3ff-q585"],"modified":"2026-07-07T17:48:09.323466899Z","published":"2026-07-07T16:02:54.775529Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22238"},{"type":"WEB","url":"https://github.com/saltstack/salt/commit/4b30218edf1a979855ea191d72b30c89f4a5a582"},{"type":"WEB","url":"https://docs.saltproject.io/en/3006/topics/releases/3006.12.html"},{"type":"WEB","url":"https://docs.saltproject.io/en/3007/topics/releases/3007.4.html"},{"type":"PACKAGE","url":"https://github.com/saltstack/salt"},{"type":"PACKAGE","url":"https://pypi.org/project/salt"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r546-h3ff-q585"}],"affected":[{"package":{"name":"salt","ecosystem":"PyPI","purl":"pkg:pypi/salt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3006.0rc1"},{"fixed":"3006.12"},{"introduced":"3007.0rc1"},{"fixed":"3007.4"}]}],"versions":["3006.0","3006.0rc1","3006.0rc2","3006.0rc3","3006.1","3006.10","3006.11","3006.2","3006.3","3006.4","3006.5","3006.6","3006.7","3006.8","3006.9","3007.0","3007.0rc1","3007.1","3007.2","3007.3"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/salt/PYSEC-2026-1901.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N"}]}