RustSec logo

History ⋅ Edit ⋅ JSON (OSV)

RUSTSEC-2026-0608

Following symbolic links when reading certificates enables information disclosure

Reported
Issued
Package
openpgp-cert-d (crates.io)
Type
Vulnerability
Aliases
References
Patched
  • >=0.3.5

Description

When reading a certificate, we open and read the certificate's file. If the file happened to be a symbolic link, then we open the target of the symbolic link and read 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.

Advisory available under CC0-1.0 license.