CVE-2026-121475: Following a symbolic-linked write lock file enables arbitrary file truncation

Published Nov 27, 2026
·
Updated

When getting the write lock, we open and truncate the write lock file. If the write lock file happened to be a symbolic link, then we open the target of the symbolic link and truncate that.

Most users will not be affected by this as certificate directories are not shared between users.

This issue has been fixed by checking that the write lock is not a symbolic link.

Affected Software

1 affected componentFixes available
rust/openpgp-cert-d>=0.0.0-0<0.3.5
0.3.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/openpgp-cert-d to a version that resolves this vulnerability.

    Fixed in 0.3.5
  2. Compensating control

    When acquiring the write lock, check that the lock file is not a symbolic link before opening and truncating it.

Event History

Nov 27, 2026
Advisory Published
via OSV·12:00 PM
Data Sourced
via OSV·12:00 PM
DescriptionAffected Software

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Users whose certificate directories are shared between multiple users are the primary concern. The description states that most users are not affected because certificate directories are typically not shared between users.

2

What does an attacker need to exploit it?

An attacker would need to cause the write lock file to be a symbolic link. When the application acquires the write lock, it follows that link and truncates the link target.

3

How can I mitigate the issue if I cannot immediately update?

Ensure certificate directories are not shared with untrusted users and prevent untrusted users from creating or replacing the write lock file. This removes the opportunity to substitute a symbolic link.

4

How do I determine whether a system may already be affected?

Inspect the write lock file in the certificate directory and check whether it is a symbolic link. Also review whether the certificate directory has been writable or shared with other users, as this is the condition identified as relevant to exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203