# RUSTSEC-2026-0604: Following symbolic links when writing to a WKD enables arbitrary file truncation

- Database: RustSec
- Published: 2026-11-27
- Modified: 2026-11-29

## Affected versions

- sequoia-net (crates.io): fixed in 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.

## References

- https://crates.io/crates/sequoia-net
- https://rustsec.org/advisories/RUSTSEC-2026-0604.html
- https://gitlab.com/sequoia-pgp/sequoia/-/blob/net/v0.32.0/net/NEWS

Page: https://cve.now/RUSTSEC-2026-0604

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
