Skip to main content
Menu
Advisories

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

RUSTSEC-2026-0604Published Updated RustSec

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.

Affected versions

References