CVE-2026-47808

wheel.key.gen_keys writes outside pki_dir

Published Dec 3, 2026 CVSS 3.1 · 8.1 High EPSS n/a KEV · Not listed
Description
wheel.key.gen_keys accepted a caller-supplied keydir with no validation that the resulting path stayed within the master's pki_dir. An authenticated eauth user with permission to call wheel.key.gen_keys can write RSA key files to arbitrary locations writable by the master process.

Remediation

Vendor Solution

keydir is validated against pki_dir. Upgrade to Salt 3006.31, 3007.18, or 3008.6, which contain the fix.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description wheel.key.gen_keys accepted a caller-supplied keydir with no validation that the resulting path stayed within the master's pki_dir. An authenticated eauth user with permission to call wheel.key.gen_keys can write RSA key files to arbitrary locations writable by the master process.
Title wheel.key.gen_keys writes outside pki_dir
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Dec 3, 2026, 8:30 AM
Reserved
May 20, 2026, 12:00 PM
Status
Received
Published
Dec 3, 2026, 8:17 AM
Modified
Dec 3, 2026, 8:17 AM