CVE-2026-17435: File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files

Published Aug 7, 2026
·
Updated

File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files.

When the file to be rotated is a symbolic link to a missing file, and the touch option is enabled, then the rotate method assumes that the file is absent (since the existence check is against the target), and does not rotate it. But it touches the file, which creates the target.

An attacker that has the ability to create the symlink can use this to create an arbitrary file with permissions of the process rotating the files (which may be different from the process that normally writes to the log file that is being rotated).

Note that the touch option is disabled by default.

Affected Software

1 affected component
perl/CPAN/File::Rotate::Simple<0.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Perl File::Rotate::Simple to a version that resolves this vulnerability.

    Fixed in 0.4.0
  2. Configuration

    Ensure the 'touch' option is disabled. The material notes the touch option is disabled by default, and that when enabled (touch option enabled) behavior differs for symlinks to missing targets.

    Perl File::Rotate::Simple touch option = disabled (default)

Event History

Aug 7, 2026
CVE Published
via MITRE·07:03 PM
Data Sourced
via MITRE·07:03 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·07:17 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-17435?

The severity of CVE-2026-17435 is classified as low risk with a score of 37.

2

How do I fix CVE-2026-17435?

To fix CVE-2026-17435, you should upgrade File::Rotate::Simple to version 0.4.0 or later.

3

What issue does CVE-2026-17435 cause when using File::Rotate::Simple?

CVE-2026-17435 causes the creation of dangling symlinks when the file to be rotated is a symbolic link to a missing file.

4

What version of File::Rotate::Simple is affected by CVE-2026-17435?

File::Rotate::Simple versions prior to 0.4.0 are affected by CVE-2026-17435.

5

Is the touch option related to the CVE-2026-17435 vulnerability?

Yes, the touch option in File::Rotate::Simple can trigger CVE-2026-17435 when a symbolic link points to a non-existent file.

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