CVE-2026-17435 Details
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.
A vulnerability in File::Rotate::Simple for Perl, affecting versions prior to 0.4.0, allows the creation of dangling symlinks that can lead to arbitrary file creation. When a file to be rotated is a symlink to a non-existent target and the touch option is enabled, the rotation method incorrectly assumes the file is absent and skips the rotation. However, it touches the file, creating a new target. This behavior can be exploited by an attacker who can create the symlink, resulting in the creation of a file with the permissions of the process performing the rotation, which may differ from the process that typically writes to the log being rotated.
Users can upgrade to File::Rotate::Simple version 0.4.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 7, 2026CISA-ADP
Assessed Aug 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/robrwo/File-Rotate-Simple/commit/ead3f5c0e51217b34d286aa243949dba60b39eba.patch | CPANSec | Source CodeVendor |
| https://github.com/robrwo/File-Rotate-Simple/security/advisories/GHSA-fpmm-8f6h-wv74 | CPANSec | AdvisoryRemedyVendor |
| https://metacpan.org/release/RRWO/File-Rotate-Simple-v0.4.0/changes | CPANSec | Release Notes |
| http://www.openwall.com/lists/oss-security/2026/08/07/7 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| File::Rotate::Simple | < 0.4.0 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 11, 2026 | CVE Modified | CISA-ADP |
| Aug 7, 2026 | CVE Modified | CVE |
| Aug 7, 2026 | New CVE Received | CPANSec |
Volerion