Vulnerability RUSTSEC-2026-0367

High Risk
HIGH RISK
CVSS Score: 7.3
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
7 days ago
October 09, 2026 at 12:00 PM UTC
Insecure Preservation of SUID/SGID Bits during ZIP Extraction Leading to Potential Privilege Escalation
0.0.1 - 9.0.0-pre3
0.0.1 - 9.0.0-pre3

Summary

Insecure Preservation of SUID/SGID Bits during ZIP Extraction Leading to Potential Privilege Escalation

Details

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

Impacted packages

Timeline

Published
7 days ago
October 09, 2026 at 12:00 PM UTC
Fixed (9.0.0)
7 days ago
October 09, 2026 at 04:48 AM UTC
Last Modified
4 hours ago
October 16, 2026 at 11:30 PM UTC