SEVERITY NOT PROVIDED

CVE-2026-121475: Following a symbolic-linked write lock file enables arbitrary file truncation

Published 2026-11-27 · Updated 2026-11-29 · Also known as RUSTSEC-2026-0607

Summary

A symbolic link vulnerability in the openpgp-cert-d crate allows arbitrary file truncation when obtaining a write lock. Developers using the affected package should review their dependencies.

Who is affected

Affected deployments of the openpgp-cert-d package (introduced at version 0.0.0-0, fixed in 0.3.5) may experience arbitrary file truncation if a write lock file is a symbolic link pointing to a target file. Most users will not be affected because certificate directories are typically not shared between users.

Exploitability

CVSS vector is not provided, EPSS is not yet available, and CISA KEV is no. Active exploitation cannot be claimed.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-29. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
crates.io openpgp-cert-d >= 0.0.0-0, < 0.3.5 0.3.5 cargo update -p openpgp-cert-d --precise 0.3.5

FAQ

What causes the vulnerability?

The vulnerability occurs because getting the write lock involves opening and truncating the write lock file without checking if it is a symbolic link, which leads to truncating the target of the symbolic link.

Are most users affected?

No, most users will not be affected because certificate directories are not shared between users.

How was the issue resolved?

The issue was fixed by checking that the write lock is not a symbolic link.

Original advisory description
When getting the write lock, we open and truncate the write lock file. If the write lock file happened to be a symbolic link, then we open the target of the symbolic link and truncate 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 the write lock is not a symbolic link.

References

Source records: RUSTSEC-2026-0607 (OSV.dev).