This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate tauri

Dependencies

(60 total, 30 outdated, 1 insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.105up to date
 base64^0.210.23.1out of date
 bytes^11.12.2up to date
 clap^34.6.10out of date
 cocoa^0.240.27.0out of date
 data-url^0.20.3.2out of date
 dirs-next^2.02.0.0up to date
 dunce^11.0.5up to date
 embed_plist^1.21.2.2up to date
 encoding_rs^0.8.310.8.44up to date
 flate2^1.01.1.11up to date
 futures-util^0.30.3.34up to date
 glib^0.150.22.11out of date
 glob^0.30.3.4up to date
 gtk^0.150.19.0out of date
 http^0.21.5.0out of date
 ico^0.2.00.6.0out of date
 ignore^0.40.4.35up to date
 indexmap^12.14.2out of date
 infer^0.90.22.0out of date
 minisign-verify^0.20.3.0out of date
 nix^0.26.00.32.0out of date
 notify-rust^4.54.19.0up to date
 objc^0.20.2.7up to date
 once_cell^11.21.4up to date
 open^3.25.4.5out of date
 os_info^33.15.0up to date
 os_pipe^1.01.2.3up to date
 percent-encoding^2.22.3.2up to date
 png^0.170.18.1out of date
 rand^0.80.10.4out of date
 raw-window-handle^0.50.6.2out of date
 regex^11.13.2up to date
 reqwest^0.110.13.5out of date
 rfd^0.100.18.0out of date
 semver^1.01.0.28up to date
 serde^1.01.0.229up to date
 serde_json^1.01.0.154up to date
 serde_repr^0.10.1.21up to date
 serialize-to-javascript=0.1.10.1.2out of date
 shared_child^1.01.1.2up to date
 state^0.50.6.0out of date
 sys-locale^0.2.30.3.2out of date
 tar^0.4.380.4.46up to date
 tauri-macros^1.4.42.8.0out of date
 tauri-runtime^0.14.32.13.0out of date
 tauri-runtime-wry^0.14.72.13.0out of date
 tauri-utils^1.5.42.11.0out of date
 tempfile^33.27.0up to date
 thiserror^1.02.0.21out of date
 time^0.30.3.55up to date
 tokio^11.54.1up to date
 tracing^0.10.1.44up to date
 url^2.32.5.9up to date
 uuid^11.29.3up to date
 webkit2gtk^0.18.23.0.0out of date
 webview2-com^0.19.10.39.1out of date
 win7-notifications^0.40.4.5up to date
 windows^0.39.00.62.2out of date
 zip ⚠️^0.69.9.0insecure

Dev dependencies

(9 total, 2 outdated)

CrateRequiredLatestStatus
 cargo_toml^0.111.0.1out of date
 mockito^0.311.7.2out of date
 proptest^1.0.01.12.0up to date
 quickcheck^1.0.31.1.0up to date
 quickcheck_macros^1.0.01.2.0up to date
 serde^1.01.0.229up to date
 serde_json^1.01.0.154up to date
 tokio^11.54.1up to date
 tokio-test^0.4.20.4.6up to date

Security Vulnerabilities

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

RUSTSEC-2026-0367

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

zip: zip: `ZipArchive::extract` creates symbolic links whose attacker-controlled targets are outside the destination directory

RUSTSEC-2026-0368

In zip 9.0.0-pre2, ZipArchive::extract creates a symbolic link from an archive entry after validating only the output entry path. The link target bytes are passed directly to the platform symlink API, so a malicious archive can create an entry inside the destination that resolves to an attacker-chosen path outside it. This behavior was verified on macOS and Linux. On either platform, a subsequent application read or write through that extracted entry accesses the external target with the extracting process's permissions.

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4v9h-p7m9-rh26

zip: ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target

RUSTSEC-2026-0369

ZipStreamReader::extract() applies Unix permissions through extracted symlinks without validating the symlink target stays within the destination

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4684-h2q9-2vcp

zip: zip: `ZipArchive::extract` aborts the process on a symlink entry with a large declared size

RUSTSEC-2026-0429

ZipArchive::extract() sizes the symlink-target buffer from the uncompressed size declared in the central directory record, before reading a single byte of entry data:

let mut target = Vec::with_capacity(file.size() as usize);

Both inputs are attacker-controlled. ZipFile::size() returns uncompressed_size verbatim from the central directory, widened to a full u64 by a ZIP64 extended-information extra field, and is never cross-checked against the compressed size, the remaining archive length, or any platform-appropriate bound for a symlink target. ZipFile::is_symlink() is decided entirely by the S_IFLNK bit of the external-attributes field.

Vec::with_capacity() is infallible: when the reservation is refused it calls handle_alloc_error() and aborts the process. This is not a Rust panic. It is not caught by catch_unwind(), is unaffected by panic = "unwind", and is not contained by running the call on a worker thread.

A 112-byte archive is sufficient. One Stored entry flagged S_IFLNK with a ZIP64 field declaring uncompressed_size = 2^62 and a zero-byte payload makes extract() fail with:

memory allocation of 4611686018427387904 bytes failed
Aborted (core dumped)          # exit 134

The declared value only needs to exceed the host's address space, not its RAM: Vec::with_capacity() maps address space without touching pages, so resident memory stays flat and the abort happens on the refused reservation itself. Under a ulimit -v cap or a memory-constrained container the threshold drops far enough that a plain 32-bit uncompressed_size with no ZIP64 field suffices.

Applications that extract archives from untrusted input are affected on Unix and Windows targets with default features and no special configuration: upload handling, mail-attachment processing, package and artefact ingestion, backup restore and container-image layer extraction. No confidentiality or integrity property is affected: there is no memory unsafety, no out-of-bounds access, no disclosure and no data corruption.

The fix landed in zip-rs/zip2#984 and shipped in 9.0.0.

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-q7v9-x93c-xqv3

zip: AES entries returned without checking their authentication code when the data ends early or is empty

RUSTSEC-2026-0545

For WinZip AES (AE-1 and AE-2) entries, the 10-byte HMAC authentication code was read and checked only after the reader had consumed exactly the entry's declared compressed size. If the archive ended before that size was reached, the read returned end-of-stream and the truncated plaintext was accepted without the check. The authentication code of an entry with no encrypted data was never checked.

AES-CTR ciphertext can be changed bit by bit without the password, and AE-2 entries carry no CRC-32, so an attacker who can modify an archive can alter the decrypted contents of such an entry without any error being reported.

This affects reading AES-encrypted entries with a password (for example ZipArchive::by_name_decrypt) with the aes-crypto feature.

The fix returns an error when the data ends before the declared size, and checks the authentication code of empty entries.

zip: `ZipStreamReader` extracts entries under local-header names that can differ from the central directory

RUSTSEC-2026-0548

A ZIP archive names each entry twice: in the local file header in front of the entry's data, and in the central directory at the end of the archive. ZipArchive lists and opens entries by their central-directory names. ZipStreamReader::visit and ZipStreamReader::extract, like read_zipfile_from_stream, read the local headers in order and use the local-header names without comparing them with the central directory.

An archive can therefore show one set of file names to code that inspects it with ZipArchive and write files under other names when it is extracted with ZipStreamReader. If an application checks an archive one way and extracts it the other way, an attacker can get files written or overwritten inside the destination directory that the check never saw.

The fix adds an opt-in check. ZipStreamReader::enforce_header_consistency(true) compares each local header with its central-directory entry (name, sizes, CRC-32, compression method, flags and modification time) and fails extraction on a mismatch; ZipReadOptions::enforce_header_consistency(true) and ZipArchive::validate_header_consistency() do the same for ZipArchive. The check is off by default, so upgrading alone does not change what ZipStreamReader::new(...) extracts: applications that extract untrusted archives with ZipStreamReader need to turn it on.