Vulnerabilities

Vulnerability · RUSTSEC-2026-0367

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

Published Oct 9, 2026 · catalog updated Oct 16, 2026 · RustSec Rust

Open the advisory

Exploitation likelihood is not on this record for RUSTSEC-2026-0367. A missing EPSS score is not a low risk. Compare RustSec Rust with the linked advisory before you change production.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
  • EPSS is missing. A missing score is not a low risk.
Severity
High7.3
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
Awaiting synchronization with FIRST
Remediation
Advisory link
Affected products
crates.io zip

The crate preserves privileged Unix permission bits (SUID, SGID, and sticky bits) from ZIP during extraction, instead of masking them to safe permission bits. If a privileged process (for example, in an installer, CI/CD pipeline, or container build) extracts an attacker-controlled ZIP archive using 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

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • crates.io zip0.0.0-0 → 9.0.0

How to fix RUSTSEC-2026-0367

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

Exploitation likelihood is not on this record for RUSTSEC-2026-0367. A missing EPSS score is not a low risk. Compare RustSec Rust with the linked advisory before you change production.

Which versions are affected?

Compare what you have installed with 0.0.0-0 → 9.0.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS is not on this record yet. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 9, 2026 · GitHub Advisory Database

    Detected

    The crate preserves privileged Unix permission bits (SUID, SGID, and sticky bits) from ZIP during extraction, instead of masking them to safe permission bits. If a privileged process (for example, in an installer, CI/CD pipeline, or container build) extracts an attacker-controlled ZIP archive using or the stream extraction API, files can be created as setuid-root or setgid. This behavior allows th

  2. Oct 16, 2026 · GitHub Advisory Database

    Fix available

    zip fixed in 9.0.0

  3. Oct 16, 2026 · GitHub Advisory Database

    Fix available

    zip fixed in 9.0.0

  4. Oct 16, 2026 · GitHub Advisory Database

    Updated

    The crate preserves privileged Unix permission bits (SUID, SGID, and sticky bits) from ZIP during extraction, instead of masking them to safe permission bits. If a privileged process (for example, in an installer, CI/CD pipeline, or container build) extracts an attacker-controlled ZIP archive using or the stream extraction API, files can be created as setuid-root or setgid. This behavior allows th

Sources

  • GitHub Advisory DatabasePackage advisoryGHSA-vv5m-jxxh-4627

    GitHub Advisory Database record mirrored by OSV.

    github.com
  • OpenSSF OSV / OSV ScannerPackage advisoryRUSTSEC-2026-0367

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

    osv.dev
  • RustSec Advisory DBVendor advisoryRUSTSEC-2026-0367

    The crate preserves privileged Unix permission bits (SUID, SGID, and sticky bits) from ZIP during extraction, instead of masking them to safe permission bits. If a privileged process (for example, in an installer, CI/CD pipeline, or container build) extracts an attacker-controlle

    crates.io

References

Freshness

Last verified in this catalog Oct 16, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.