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
- Upgrade the openpgp-cert-d package to version 0.3.5 or later.
How to check your project
- Check Cargo.lock or Cargo.toml for references to the openpgp-cert-d crate version prior to 0.3.5.
Automated analysis of the published advisory data, generated 2026-11-29. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| 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
References
- PACKAGE https://crates.io/crates/openpgp-cert-d
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0607.html
- WEB https://gitlab.com/sequoia-pgp/pgp-cert-d/-/blob/v0.3.5/openpgp-cert-d/NEWS
Source records: RUSTSEC-2026-0607 (OSV.dev).