CVE-2026-47854

Symlink-following local privilege escalation in ssh.set_auth_key

Published Dec 3, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
ssh.set_auth_key followed symlinks when writing a user's authorized_keys file and then changed ownership of the target. An unprivileged local user on a managed minion can plant a symlink so that the root-running minion creates a file at an arbitrary location owned by that user, leading to local privilege escalation.

Remediation

Vendor Solution

ssh.set_auth_key refuses to proceed when the resolved authorized_keys path is a symlink. 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 ssh.set_auth_key followed symlinks when writing a user's authorized_keys file and then changed ownership of the target. An unprivileged local user on a managed minion can plant a symlink so that the root-running minion creates a file at an arbitrary location owned by that user, leading to local privilege escalation.
Title Symlink-following local privilege escalation in ssh.set_auth_key
Weaknesses CWE-59
References
Metrics cvssV3_1

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

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Dec 3, 2026, 7:38 AM
Reserved
May 20, 2026, 10:00 AM
Status
Received
Published
Dec 3, 2026, 8:17 AM
Modified
Dec 3, 2026, 8:17 AM