Openpgp-cert-d: following symbolic links when updating certificates enables arbitrary file modification
- CVE-2026-121476
- RUSTSEC-2026-0606
- EUVD-2026-139867
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.
Text from the CVE.org record.
Recommendation
openpgp-cert-d
- If you run a version from 0.0.0-0 to before 0.3.5update to 0.3.5 or laterMajor version change: expect breaking changesopenpgp-cert-d 0.3.5 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Red Hat Red Hat Enterprise Linux 10
No versions listed
Red Hat Red Hat Enterprise Linux 9
No versions listed
Red Hat Red Hat Hardened Images
No versions listed
openpgp-cert-dcrates.io
Affected versions Fixed in from 0.0.0-0 to before 0.3.5 0.3.5
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.