{"id":"CVE-2026-121476","aliases":["DEBIAN-CVE-2026-121476","EUVD-2026-139867","UBUNTU-CVE-2026-121476"],"status":"published","title":"Openpgp-cert-d: following symbolic links when updating certificates enables arbitrary file modification","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.","severity":{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00136,"percentile":0.03206,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-59"],"published":"2026-12-01T03:18:29Z","modified":"2026-12-04T09:47:42Z","affected":[{"source":"osv","ecosystem":"Debian:13","package":"rust-openpgp-cert-d","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.4-1"]},{"source":"osv","ecosystem":"Debian:14","package":"rust-openpgp-cert-d","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.4-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-openpgp-cert-d","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.0-3","0.1.2-1","0.3.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"rust-openpgp-cert-d","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.4-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"rust-openpgp-cert-d","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.4-1"]}],"products":[{"vendor":"red hat","product":"red hat enterprise linux 10"},{"vendor":"red hat","product":"red hat enterprise linux 9"},{"vendor":"red hat","product":"red hat hardened images"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-121476","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2565798","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-121476","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-121476","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-121476","tags":["report"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0606.html","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-121476","title":"Openpgp-cert-d: following symbolic links when updating certificates enables arbitrary file modification","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.","status":"published","published":"2026-12-01T03:18:29.886Z","modified":"2026-12-03T16:46:24.847Z","cvss":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-59"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T16:59:05.342232Z"}],"euvd":[{"id":"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.","status":"published","published":"2026-12-01T03:18:29Z","modified":"2026-12-03T16:46:24Z","cvss":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-12-01T05:16:10.301293Z"}],"nvd":[{"id":"CVE-2026-121476","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.","status":"published","published":"2026-12-01T04:17:19.243Z","modified":"2026-12-03T17:17:36.403Z","cvss":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-59"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-03"},"updated_at":"2026-12-03T17:18:31.165971Z"}],"osv":[{"id":"DEBIAN-CVE-2026-121476","upstream":["CVE-2026-121476"],"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.","status":"published","published":"2026-12-01T04:17:19.243Z","modified":"2026-12-04T09:47:42.309384231Z","cvss":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-12-02T04:27:37.688086Z"},{"id":"UBUNTU-CVE-2026-121476","upstream":["CVE-2026-121476"],"description":"(A flaw was found in openpgp-cert-d. When updating a certificate, the a ...)","status":"published","published":"2026-12-02T00:00:00Z","modified":"2026-12-02T15:17:21.039418286Z","updated_at":"2026-12-02T15:46:19.21429Z"}]}}
