RustSec logo

History ⋅ Edit ⋅ JSON (OSV)

RUSTSEC-2026-0604

Following symbolic links when writing to a WKD enables arbitrary file truncation

Reported
Issued
Package
sequoia-net (crates.io)
Type
Vulnerability
Aliases
References
Patched
  • >=0.32.0

Description

When inserting a certificate into a WKD or creating the policy file, we open and write to the file. If the file happened to be a symbolic link, then we would open the target of the symbolic link and overwrite that. This has been fixed by not following a symbolic link.

Most users will not be affected by this as certificate directories are not normally shared between users.

Advisory available under CC0-1.0 license.