CVE-2026-41866: Zip Slip via symlinks in archive.unzip
Symlink entries in a ZIP archive were created by archive.unzip without validating that their targets stayed inside the extraction directory. An eauth user with permission to call archive.unzip or archive.extracted and who can supply a crafted ZIP file can create arbitrary symlinks on a minion, which can lead to file reads or writes outside the extraction directory.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Saltto a version that resolves this vulnerability.Fixed in 3006.31 - Upgrade
Upgrade
Saltto a version that resolves this vulnerability.Fixed in 3007.18 - Upgrade
Upgrade
Saltto a version that resolves this vulnerability.Fixed in 3008.6
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated eauth user must have permission to call archive.unzip or archive.extracted and be able to provide a crafted ZIP archive. The impact occurs on the minion performing the extraction.
Is an unauthenticated network attacker affected by this vulnerability?
The provided attack vector is network-based, but exploitation requires low-privilege authentication and authorization to invoke the affected archive functions. The data does not indicate that unauthenticated users can exploit it.
What is the impact of successful exploitation?
A crafted ZIP can create symlinks whose targets are outside the intended extraction directory. This can enable reads from or writes to files outside that directory on the affected minion.
What can be done if patching is not immediately possible?
Restrict eauth permissions so untrusted users cannot call archive.unzip or archive.extracted, and prevent those users from supplying ZIP files for extraction. Review archive-extraction workflows on minions where these permissions are currently granted.