{"id":"CVE-2026-121476","aliases":["CVE-2026-121476","RUSTSEC-2026-0606"],"related":[],"kind":"vulnerability","state":"published","title":"Openpgp-cert-d: following symbolic links when updating certificates enables arbitrary file modification","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"When updating a certificate, we open and write to the certificate's file.  If\nthe file happened to be a symbolic link, then we open the target of the symbolic\nlink and write to that.\n\nMost users will not be affected by this as certificate directories are not\nshared between users.\n\nThis issue has been fixed by checking that files and directories in the\ncertificate directory are not symbolic links.","format":"markdown","source":"rustsec"}],"published":"2026-11-27T12:00:00.000Z","modified":"2026-12-01T04:17:19.363Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","score":3.8,"rating":"LOW"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","score":3.8,"rating":"LOW"}],"cwes":["CWE-59"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"rust-podman-sequoia","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"rust-sequoia-sq","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"rust-sequoia-sq","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"rust-podman-sequoia","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.3.5"}],"ecosystem":"crates.io","package":"openpgp-cert-d","purl":"pkg:cargo/openpgp-cert-d","source":"rustsec"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-121476","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2565798","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://crates.io/crates/openpgp-cert-d","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0606.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://gitlab.com/sequoia-pgp/pgp-cert-d/-/blob/v0.3.5/openpgp-cert-d/NEWS","tags":["web"],"sources":["rustsec"]}],"credits":["Red Hat would like to thank izouss for reporting this issue."],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-121476","url":"https://www.cve.org/CVERecord?id=CVE-2026-121476","licence":"CVE Terms of Use","modified":"2026-12-01T03:18:29.886Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0606","url":"https://rustsec.org/advisories/RUSTSEC-2026-0606.html","licence":"CC0-1.0","modified":"2026-11-29T16:00:02.578Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-121476","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121476","licence":"Public domain","modified":"2026-12-01T04:17:19.363Z"}],"updatedAt":"2026-12-01T04:32:18.223Z","epss":{"score":0.00136,"percentile":0.03232,"date":"2026-12-01T12:00:22.000Z"}}