All reports
Medium

Salt's file contents overwrite the VirtKey class

Affected versions

Version ranges need review.

PyPIsalt
Affected versions
>= 3006.0rc1, < 3006.12
Fixed version
3006.12
PyPIsalt
Affected versions
>=3007.0rc1 <3007.4 || >=3006.0rc1 <3006.12 || =3006.0 || =3006.0rc1 || =3006.0rc2 || =3006.0rc3 || =3006.1 || =3006.10 || =3006.11 || =3006.2 || =3006.3 || =3006.4 || =3006.5 || =3006.6 || =3006.7 || =3006.8 || =3006.9 || =3007.0 || =3007.0rc1 || =3007.1 || =3007.2 || =3007.3
Fixed version
3006.12 · 3007.4
PyPIsalt
Affected versions
>= 3007.0rc1, < 3007.4
Fixed version
3007.4

Exploitation

CVE-2025-22241

Probability of exploitation in the next 30 days: 0.19%

FIRST EPSS · 2026-11-23

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.

Links