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 CVSS 3.1 · 2.5 Low EPSS < 1% KEV · Not listed
Description
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.

Remediation

Vendor Solution

Upgrade to version 0.4.0 or later.


Vendor Workaround

For deployments that cannot be upgraded, ensure the touch option is disabled.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Rrwo
Rrwo file::rotate::simple
Vendors & Products Rrwo
Rrwo file::rotate::simple
Type Values Removed Values Added
Description 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.
Title File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files
Weaknesses CWE-59
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Aug 11, 2026, 8:12 PM
Reserved
Jul 25, 2026, 12:35 PM
Status
Deferred
Published
Aug 7, 2026, 7:17 PM
Modified
Oct 23, 2026, 8:10 PM