{"id":"CVE-2026-121475","aliases":["CVE-2026-121475","RUSTSEC-2026-0607"],"related":[],"kind":"vulnerability","state":"published","title":"Openpgp-cert-d: following a symbolic-linked write lock file enables arbitrary file truncation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"When getting the write lock, we open and truncate the write lock file.  If the\nwrite lock file happened to be a symbolic link, then we open the target of the\nsymbolic link and truncate 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 the write lock is not a symbolic\nlink.","format":"markdown","source":"rustsec"}],"published":"2026-11-27T12:00:00.000Z","modified":"2026-12-01T18:49:08.408Z","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-121475","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2565793","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-0607.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","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-12-01T18:48:55.582Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-121475","url":"https://www.cve.org/CVERecord?id=CVE-2026-121475","licence":"CVE Terms of Use","modified":"2026-12-01T18:49:08.408Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0607","url":"https://rustsec.org/advisories/RUSTSEC-2026-0607.html","licence":"CC0-1.0","modified":"2026-11-29T16:00:03.579Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-121475","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121475","licence":"Public domain","modified":"2026-12-01T04:17:19.210Z"}],"updatedAt":"2026-12-01T18:57:22.650Z","epss":{"score":0.00136,"percentile":0.03232,"date":"2026-12-01T12:00:22.000Z"}}