3.8low
Openpgp-cert-d: following a symbolic-linked write lock file enables arbitrary file truncation
- Severity
- 3.8low CVSS:3.1 by redhat
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- RUSTSEC-2026-0607
Description
A flaw was found in openpgp-cert-d. When acquiring a write lock, the application opens and truncates the lock file without verifying whether it is a symbolic link (a reference pointing to another file). In environments where a certificate directory is shared among multiple users, a local attacker can replace the write lock file with a symbolic link targeting another file. When a different user subsequently updates the certificate store, the targeted file is truncated, leading to unintended data loss or corruption.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rust-podman-sequoia | Not specified | CVE List |
| rust-sequoia-sq | Not specified | CVE List |
| openpgp-cert-d (crates.io) | from 0.0.0-0 before 0.3.5 | RustSec Advisory Database |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
A flaw was found in openpgp-cert-d. When acquiring a write lock, the application opens and truncates the lock file without verifying whether it is a symbolic link (a reference pointing to another file). In environments where a certificate directory is shared among multiple users, a local attacker can replace the write lock file with a symbolic link targeting another file. When a different user subsequently updates the certificate store, the targeted file is truncated, leading to unintended data loss or corruption.
RustSec Advisory Database
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-121475 changed 2026-12-01 | CVE Terms of Use |
| RustSec Advisory Database | RUSTSEC-2026-0607 changed 2026-11-29 | CC0-1.0 |
| NVD | CVE-2026-121475 changed 2026-12-01 | Public domain |