Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Low 3.8CVE-2026-121475

Openpgp-cert-d: following a symbolic-linked write lock file enables arbitrary file truncation

Published 01/12/2026 · Updated 01/12/2026 · Red Hat Enterprise Linux 10

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.

Vendor workaround

Isolate certificate directories so that they are not shared between multiple local users, and enforce restrictive directory permissions.

Set permissions so only the directory owner has read, write, and search permissions on the certificate store:

chmod 700 /path/to/cert-d

Caveat: Restricting permissions prevents other accounts from accessing the certificate store, which will break workflows designed around shared certificate repositories.

Original text from the vendor's CVE record.

Affected products and versions

Red Hat Red Hat Enterprise Linux 10
Red Hat Red Hat Enterprise Linux 10
Red Hat Red Hat Enterprise Linux 9
Red Hat Red Hat Hardened Images

CVSS vector, explained

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N

Attack vector
Local
Attack complexity
Low
Privileges required
Regular user
User interaction
Not required
Scope
Affects other components
Confidentiality
None
Integrity
Low impact
Availability
None

Weakness type (CWE)

  • CWE-59 Improper Link Resolution Before File Access

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.