CVE-2026-121474: Following symbolic links when writing to a WKD enables arbitrary file truncation
When inserting a certificate into a WKD or creating the policy file, we open and write to the file. If the file happened to be a symbolic link, then we would open the target of the symbolic link and overwrite that. This has been fixed by not following a symbolic link.
Most users will not be affected by this as certificate directories are not normally shared between users.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rust/sequoia-netto a version that resolves this vulnerability.Fixed in 0.32.0 - Compensating control
When inserting a certificate into a WKD or creating the policy file, open and write to the file without following symbolic links.
Event History
Frequently Asked Questions
Who is most likely to be exposed to this issue?
Users whose WKD certificate directories are shared with other users are most likely to be exposed. The issue is not expected to affect most users because certificate directories are not normally shared between users.
What must an attacker be able to do to exploit it?
An attacker would need to cause a file used when inserting a WKD certificate or creating the policy file to be a symbolic link. The vulnerable behavior follows that link and overwrites its target, allowing arbitrary file truncation or overwrite.
What can be done if the fix cannot be deployed immediately?
Avoid sharing WKD certificate directories between users and ensure files in those directories cannot be replaced with symbolic links by untrusted users.