Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. salt
  4. ›
  5. CVE-2025-22238

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

June 13, 2025

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

  • docs.saltproject.io/en/3006/topics/releases/3006.12.html
  • docs.saltproject.io/en/3007/topics/releases/3007.4.html
  • github.com/advisories/GHSA-r546-h3ff-q585
  • github.com/saltstack/salt
  • github.com/saltstack/salt/commit/4b30218edf1a979855ea191d72b30c89f4a5a582
  • nvd.nist.gov/vuln/detail/CVE-2025-22238

Code Behaviors & Features

Detect and mitigate CVE-2025-22238 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3006.0rc1 before 3006.12, all versions starting from 3007.0rc1 before 3007.4

Fixed versions

  • 3006.12
  • 3007.4

Solution

Upgrade to versions 3006.12, 3007.4 or above.

Impact 4.2 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/salt/CVE-2025-22238.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:01 +0000.