MEDIUM 5.6 PyPI

Salt's file contents overwrite the VirtKey class

GHSA-7f3f-x5f5-79gw · CVE-2025-22241 · PYSEC-2026-1895

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes