{"id":"CVE-2026-121475","aliases":["DEBIAN-CVE-2026-121475","EUVD-2026-139866","UBUNTU-CVE-2026-121475"],"status":"published","title":"Openpgp-cert-d: following a symbolic-linked write lock file enables arbitrary file truncation","description":"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.","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.00166,"percentile":0.06133,"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:27Z","modified":"2026-12-02T15:17:21Z","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-121475","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2565793","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-121475","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-121475","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-121475","tags":["report"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0607.html","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-121475","title":"Openpgp-cert-d: following a symbolic-linked write lock file enables arbitrary file truncation","description":"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.","status":"published","published":"2026-12-01T03:18:27.238Z","modified":"2026-12-01T18:49:08.408Z","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-01"},"updated_at":"2026-12-01T18:52:46.006221Z"}],"euvd":[{"id":"EUVD-2026-139866","description":"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.","status":"published","published":"2026-12-01T03:18:27Z","modified":"2026-12-01T18:49:08Z","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-121475","description":"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.","status":"published","published":"2026-12-01T04:17:19.087Z","modified":"2026-12-01T19:17:08.553Z","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-01"},"updated_at":"2026-12-01T19:22:39.320612Z"}],"osv":[{"id":"DEBIAN-CVE-2026-121475","upstream":["CVE-2026-121475"],"description":"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.","status":"published","published":"2026-12-01T04:17:19.087Z","modified":"2026-12-02T11:47:27.023704372Z","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-121475","upstream":["CVE-2026-121475"],"description":"(A flaw was found in openpgp-cert-d. When acquiring a write lock, the a ...)","status":"published","published":"2026-12-02T00:00:00Z","modified":"2026-12-02T15:17:21.028246343Z","updated_at":"2026-12-02T15:46:19.21429Z"}]}}
