CVE-2026-121475
JSON

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 packageVersionsReported by
rust-podman-sequoiaNot specifiedCVE List
rust-sequoia-sqNot specifiedCVE List
openpgp-cert-d (crates.io)from 0.0.0-0 before 0.3.5RustSec Advisory Database

Classification

CWE-59

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

SourceRecordLicence
CVE ListCVE-2026-121475 changed 2026-12-01CVE Terms of Use
RustSec Advisory DatabaseRUSTSEC-2026-0607 changed 2026-11-29CC0-1.0
NVDCVE-2026-121475 changed 2026-12-01Public domain