NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-22238: Salt vulnerable to directory traversal attack in minion file cache creation

mediumCVSS 3.1 4.2GHSA-r546-h3ff-q585

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 Jun 13, 2025

Affected packages

salt

Ecosystem
PyPI
Affected
>= 3006.0rc1, < 3006.12
Fixed in
3006.12
Check
pip show salt

salt

Ecosystem
PyPI
Affected
>= 3007.0rc1, < 3007.4
Fixed in
3007.4
Check
pip show salt

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries