CVE-2026-121476Openpgp-cert-d: following symbolic links when updating certificates enables arbitrary file modification
- 3.8LowCVSS base score
- 0.14%Exploitation in 30 daysEPSS · top 97% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 28 days later
· 28 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Low3.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N |
| NVDNVD · Awaiting Analysis | 3.1 | Low3.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.14% · top 97% of all CVEs (1 Dec 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.8.
Affected products
Red Hat · Red Hat Enterprise Linux 10
All versions: affected
Red Hat · Red Hat Enterprise Linux 10
All versions: affected
Red Hat · Red Hat Enterprise Linux 9
All versions: affected
Red Hat · Red Hat Hardened Images
All versions: affected
What to do
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.
References
References2
- https://access.redhat.com/security/cve/CVE-2026-121476 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2565798 (opens in a new tab)issue-trackingx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-139867 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-121476)Record last updated .