CVE-2026-121475

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

Published Dec 1, 2026 CVSS 3.1 · 3.8 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

openpgp-cert-d truncates the write‑lock file when acquiring a lock without verifying whether the target is a symbolic link. An attacker who can replace this lock file with a symlink that points to another file causes that file to be truncated during a subsequent certificate store update. The resulting loss or corruption of arbitrary files can disrupt system operation, compromise data integrity, or undermine the reliability of the public‑key infrastructure.

Affected Systems

The flaw affects Red Hat Enterprise Linux 9 and 10 as well as Red Hat Hardened Images. It resides in the openpgp-cert-d component that manages shared certificate directories. Specific package or operating‑system versions are not listed, so any installation containing a shared certificate store is potentially vulnerable.

Risk and Exploitability

The CVSS score is 3.8, indicating low severity. The EPSS score is below 1 % and the vulnerability is not listed in the CISA KEV catalog, implying a low likelihood of exploitation. From the description it is inferred that the attack requires local write privileges on the shared certificate directory, making the vector local. The exploitation path involves replacing the lock file before another user updates the store, thereby truncating the target file.

Remediation

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.


OpenCVE Recommended Actions

  • Isolate the certificate directory so it is not shared among multiple local users to prevent unintended truncation.
  • Apply restrictive permissions on the certificate directory so that only the directory owner has read, write, and search permissions, for example: chmod 700 /path/to/cert-d.
  • Consider configuring file‑system options that disallow symlink traversal or implementing access control lists to restrict write operations to the lock file.

Generated by OpenCVE AI on December 1, 2026 at 22:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title openpgp-cert-d: Following a symbolic-linked write lock file enables arbitrary file truncation Openpgp-cert-d: following a symbolic-linked write lock file enables arbitrary file truncation
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
CPEs cpe:/a:redhat:hummingbird:1
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
References
Type Values Removed Values Added
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.
Title openpgp-cert-d: Following a symbolic-linked write lock file enables arbitrary file truncation
Weaknesses CWE-59
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N'}

threat_severity

Low

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Dec 1, 2026, 6:49 PM
Reserved
Nov 3, 2026, 1:36 PM
Status
Awaiting Analysis
Published
Dec 1, 2026, 4:17 AM
Modified
Dec 1, 2026, 7:17 PM
Severity
Low
Public date
Nov 30, 2026, 2:56 PM