Description
A flaw was found in openpgp-cert-d. When updating a certificate, the application opens the certificate file for writing without checking for symbolic links (symlinks). In environments where a certificate directory is shared between users, a local attacker could replace a certificate file with a symlink pointing to an arbitrary file. This can lead to unauthorized file modification, causing another user updating the certificate store to inadvertently overwrite or alter files of the attacker's choice.
Published: 2026-12-01
Score: 3.8 Low
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Workaround

Ensure certificate directories are not shared across multiple users and restrict directory permissions to the owning user. To restrict permissions on the default user certificate directory: ``` chmod 700 ~/.local/share/pgpkeys ``` If using a custom directory defined via `$PGP_CERT_D`, apply the same restriction: ``` chmod 700 /path/to/cert-d ``` Caveat: Collaborative environments that depend on multiple local users modifying a single shared certificate store will be disrupted; each user must maintain an isolated certificate store.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Dec 2026 03:45:00 +0000

Type Values Removed Values Added
Title openpgp-cert-d: Following symbolic links when updating certificates enables arbitrary file modification Openpgp-cert-d: following symbolic links when updating certificates enables arbitrary file modification
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

Tue, 01 Dec 2026 00:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in openpgp-cert-d. When updating a certificate, the application opens the certificate file for writing without checking for symbolic links (symlinks). In environments where a certificate directory is shared between users, a local attacker could replace a certificate file with a symlink pointing to an arbitrary file. This can lead to unauthorized file modification, causing another user updating the certificate store to inadvertently overwrite or alter files of the attacker's choice.
Title openpgp-cert-d: Following symbolic links when updating certificates enables arbitrary file modification
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


Subscriptions

Redhat Enterprise Linux Hummingbird
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-12-01T03:18:29.886Z

Reserved: 2026-11-03T13:36:05.816Z

Link: CVE-2026-121476

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-01T04:17:19.243

Modified: 2026-12-01T04:17:19.363

Link: CVE-2026-121476

cve-icon Redhat

Severity : Low

Publid Date: 2026-11-30T14:57:01Z

Links: CVE-2026-121476 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses