{"id":"CVE-2026-121474","aliases":["CVE-2026-121474","RUSTSEC-2026-0604"],"related":[],"kind":"vulnerability","state":"published","title":"Sequoia-net: following symbolic links when writing to a wkd enables arbitrary file truncation","summary":"A flaw was found in sequoia-net. When inserting a certificate into a Web Key Directory (WKD) or creating a policy file, the application opens and writes to destination files without checking for symbolic links. In environments where certificate directories are shared between users, a local attacker could create a symbolic link, causing another user updating the certificate store to overwrite or truncate arbitrary files.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in sequoia-net. When inserting a certificate into a Web Key Directory (WKD) or creating a policy file, the application opens and writes to destination files without checking for symbolic links. In environments where certificate directories are shared between users, a local attacker could create a symbolic link, causing another user updating the certificate store to overwrite or truncate arbitrary files.","source":"cvelist"},{"lang":"en","text":"When inserting a certificate into a WKD or creating the policy file, we open and\nwrite to the file.  If the file happened to be a symbolic link, then we would\nopen the target of the symbolic link and overwrite that.  This has been fixed by\nnot following a symbolic link.\n\nMost users will not be affected by this as certificate directories are not\nnormally shared between users.","format":"markdown","source":"rustsec"}],"published":"2026-11-27T12:00:00.000Z","modified":"2026-12-01T14:18:07.330Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"}],"cwes":["CWE-59"],"affected":[{"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":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.32.0"}],"ecosystem":"crates.io","package":"sequoia-net","purl":"pkg:cargo/sequoia-net","source":"rustsec"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-121474","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2565791","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://crates.io/crates/sequoia-net","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0604.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://gitlab.com/sequoia-pgp/sequoia/-/blob/net/v0.32.0/net/NEWS","tags":["web"],"sources":["rustsec"]}],"credits":["Red Hat would like to thank Din Asotić for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-12-01T13:30:17.948Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-121474","url":"https://www.cve.org/CVERecord?id=CVE-2026-121474","licence":"CVE Terms of Use","modified":"2026-12-01T13:53:20.972Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0604","url":"https://rustsec.org/advisories/RUSTSEC-2026-0604.html","licence":"CC0-1.0","modified":"2026-11-29T16:00:02.573Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-121474","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121474","licence":"Public domain","modified":"2026-12-01T14:18:07.330Z"}],"updatedAt":"2026-12-01T14:32:16.884Z","epss":{"score":0.00136,"percentile":0.03232,"date":"2026-12-01T12:00:22.000Z"}}