{"id":"CVE-2025-22238","aliases":["CVE-2025-22238","GHSA-r546-h3ff-q585","PYSEC-2026-1901"],"related":[],"kind":"vulnerability","state":"published","title":"CVE-2025-22238 salt advisory","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Ataque de directory traversal al crear la caché de archivos de los minions. La caché predeterminada del maestro es vulnerable a un ataque de directory traversal. Este ataque podría usarse para escribir o sobrescribir archivos de caché fuera del directorio de caché.","source":"nvd"}],"published":"2025-06-13T06:58:19.550Z","modified":"2026-07-07T17:56:57.991Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N","score":4.2,"rating":"MEDIUM"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N","score":4.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N","score":4.2,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N","score":4.2,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"lts","introduced":"3006.x","fixed":"3006.12","status":"affected"},{"type":"sts","introduced":"3007.x","fixed":"3007.4","status":"affected"}],"vendor":"VMware","product":"SALT","package":"Salt","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3006.0rc1","status":"affected","fixed":"3006.12"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3007.0rc1","status":"affected","fixed":"3007.4"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3006.0rc1","status":"affected","fixed":"3006.12"},{"type":"ecosystem","introduced":"3007.0rc1","status":"affected","fixed":"3007.4"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"pysec"}],"references":[{"url":"https://docs.saltproject.io/en/3006/topics/releases/3006.12.html","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://docs.saltproject.io/en/3007/topics/releases/3007.4.html","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22238","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/saltstack/salt/commit/4b30218edf1a979855ea191d72b30c89f4a5a582","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/saltstack/salt","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/salt","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-r546-h3ff-q585","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-06-13T13:54:45.480Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-22238","url":"https://www.cve.org/CVERecord?id=CVE-2025-22238","licence":"CVE Terms of Use","modified":"2025-06-13T13:55:43.520Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r546-h3ff-q585","url":"https://github.com/advisories/GHSA-r546-h3ff-q585","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:57.991Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-22238","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22238","licence":"Public domain","modified":"2026-06-17T08:45:49.890Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1901","url":"https://osv.dev/vulnerability/PYSEC-2026-1901","licence":"CC-BY-4.0","modified":"2026-07-07T17:48:09.323Z"}],"updatedAt":"2026-11-25T22:58:59.193Z","epss":{"score":0.00299,"percentile":0.24335,"date":"2026-12-01T12:00:22.000Z"}}