{"id":"CVE-2025-22241","aliases":["PYSEC-2026-1895"],"url":"https://o3.security/vulnerability/CVE-2025-22241","summary":"Salt's file contents overwrite the VirtKey class","details":"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.","published":"2025-06-13T09:30:33Z","modified":"2026-07-07T17:57:27.927992496Z","cvss":{"score":5.6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N"},"epss":{"score":0.00166,"percentile":0.06252,"asOf":"2026-07-31"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"salt","fixedVersion":"3007.4"},{"ecosystem":"PyPI","name":"salt","fixedVersion":"3006.12"}],"fix":{"url":"https://github.com/saltstack/salt/commit/9445f496fed61b15dc4364818007e5b765b0746f","label":"saltstack/salt@9445f49"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22241"},{"type":"WEB","url":"https://github.com/saltstack/salt/commit/9445f496fed61b15dc4364818007e5b765b0746f"},{"type":"WEB","url":"https://docs.saltproject.io/en/3006/topics/releases/3006.12.html"},{"type":"WEB","url":"https://docs.saltproject.io/en/3007/topics/releases/3007.4.html"},{"type":"PACKAGE","url":"https://github.com/saltstack/salt"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-07T17:57:27.927992496Z"}}