saltstack/salt · Security

Salt's file contents overwrite the VirtKey class

GHSA ID
GHSA-7f3f-x5f5-79gw
CVE ID
CVE-2025-22241
Severity
medium
Published
Updated
CVSS
5.6 · CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
CVSS v3
5.6 · CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N

Description

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.

CWEs

References