Skip to main content
Menu
Advisories

Following symbolic links when updating certificates enables arbitrary file modification

RUSTSEC-2026-0606Published Updated RustSec

Description

When updating a certificate, we open and write to the certificate's file. If the file happened to be a symbolic link, then we open the target of the symbolic link and write to that.

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

This issue has been fixed by checking that files and directories in the certificate directory are not symbolic links.

Affected versions

References