{"id":"CVE-2025-22238","aliases":["PYSEC-2026-1901"],"url":"https://o3.security/vulnerability/CVE-2025-22238","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.","published":"2025-06-13T09:30:33Z","modified":"2026-07-07T17:56:57.991924658Z","cvss":{"score":4.2,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"salt","fixedVersion":"3006.12"},{"ecosystem":"PyPI","name":"salt","fixedVersion":"3007.4"}],"fix":{"url":"https://github.com/saltstack/salt/commit/4b30218edf1a979855ea191d72b30c89f4a5a582","label":"saltstack/salt@4b30218"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-07T17:56:57.991924658Z"}}