ADVISORIES

Vulnerability

CVE-2025-22241

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.

16 advisories report this vulnerability, across 4 ecosystems.

Advisories in PyPI

  • GHSA-7f3f-x5f5-79gw

    Salt's file contents overwrite the VirtKey class

    Moderate CVE-2025-22241 PyPI Updated 7 July 2026
  • PYSEC-2026-1895

    Salt's file contents overwrite the VirtKey class

    CVE-2025-22241 PyPI Updated 7 July 2026

References