Loading advisory.
Loading advisory.
Insecure Preservation of SUID/SGID Bits during ZIP Extraction Leading to Potential Privilege Escalation
The zip crate preserves privileged Unix permission bits (SUID, SGID, and sticky bits) from ZIP external_attributes during extraction, instead of masking them to safe permission bits.
Published 2026-10-09 12:00 UTC · Modified 2026-10-16 23:30 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package |
|---|
| Ecosystem |
|---|
| Affected |
|---|
| Fixed in |
|---|
| Upgrade command |
|---|
| zip | crates.io | >= 0.0.0-0, < 9.0.0 | 9.0.0 | cargo add zip@9.0.0 |
|---|
The zip crate preserves privileged Unix permission bits (SUID, SGID, and sticky bits) from ZIP external_attributes during extraction, instead of masking them to safe permission bits. If a privileged process (for example, root in an installer, CI/CD pipeline, or container build) extracts an attacker-controlled ZIP archive using ZipArchive::extract() or the stream extraction API, files can be created as setuid-root or setgid. This behavior allows the creation of SUID/SGID files during extraction, which can lead to local privilege escalation depending on the execution environment.
For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-vv5m-jxxh-4627
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
No EPSS history yet. Either the CVE has no score or the scores have not been fetched.