Permissions, Privileges, and Access Controls in Salt - CVE-2025-22241

 

Permissions, Privileges, and Access Controls in Salt - CVE-2025-22241

Published: June 23, 2025


Vulnerability identifier: #VU111858
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-22241
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: SaltStack
Affected software:
Salt

Detailed vulnerability description

The vulnerability allows a local user to bypass implemented security restrictions.

File contents overwrite the VirtKey class is called when “on-demand pillar” data is requested and uses un-validated input to create paths to the “pki directory”. The functionality is used to auto-accept Minion authentication keys based on a pre-placed “authorization file” at a specific location and is present in the default configuration.


How to mitigate CVE-2025-22241

Install updates from vendor's website.

Sources