CVE-2026-47799

Directory traversal in salt.utils.path.join

Published Dec 3, 2026 CVSS 3.1 · 7.2 High EPSS n/a KEV · Not listed
Description
salt.utils.path.join normalized path components but did not verify that the joined path stayed within the intended root, so relative traversal sequences could escape the cache root. A compromised or malicious Salt master can supply a crafted destination in a file-serving response that causes a minion to write attacker-controlled content to arbitrary paths with the privileges of the salt-minion process.

Analysis

No analysis available yet

Remediation

Vendor Solution

Leading .. components are stripped from non-root path parts. Upgrade to Salt 3006.31, 3007.18, or 3008.6, which contain the fix.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description salt.utils.path.join normalized path components but did not verify that the joined path stayed within the intended root, so relative traversal sequences could escape the cache root. A compromised or malicious Salt master can supply a crafted destination in a file-serving response that causes a minion to write attacker-controlled content to arbitrary paths with the privileges of the salt-minion process.
Title Directory traversal in salt.utils.path.join
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Dec 3, 2026, 7:25 AM
Reserved
May 20, 2026, 10:00 AM
Status
Received
Published
Dec 3, 2026, 8:17 AM
Modified
Dec 3, 2026, 8:17 AM