CVE-2026-47798: World-listable eauth token directory exposes bearer tokens
The eauth token directory was created world-listable (mode 0755). Each token file is named with the bearer token value, so the directory listing exposes valid tokens. Any local user on the Salt master can enumerate valid eauth tokens and use them to authenticate to the Salt API with the permissions of the token's original owner.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3006.31 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3007.18 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3008.6
Event History
Frequently Asked Questions
Who can exploit this issue?
Any local user on the Salt master can exploit it if the eauth token directory is world-listable. The attacker does not need to interact with a victim or obtain the original token owner's credentials.
What level of access could a stolen token provide?
A stolen bearer token can be used to authenticate to the Salt API with the permissions of the token's original owner. The impact therefore depends on the privileges assigned to the owners of exposed tokens.
How can I determine whether a Salt master is affected?
Inspect the eauth token directory permissions. A mode of 0755 allows local users to list token filenames, which expose the bearer token values.