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

- Severity: Low 2.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 2% of CVEs (2026-11-29)
- Published: 2026-08-07T19:03:48.138Z
- Modified: 2026-10-23T20:10:00.160Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## 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.

(As written by CVE List.)

## Affected

- File-Rotate-Simple: before 0.4.0

## References

- <https://github.com/robrwo/File-Rotate-Simple/commit/ead3f5c0e51217b34d286aa243949dba60b39eba.patch> (patch)
- <https://github.com/robrwo/File-Rotate-Simple/security/advisories/GHSA-fpmm-8f6h-wv74> (vendor-advisory)
- <https://metacpan.org/release/RRWO/File-Rotate-Simple-v0.4.0/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/08/07/7>

## Sources

- CVE List: [CVE-2026-17435](https://www.cve.org/CVERecord?id=CVE-2026-17435), CVE Terms of Use, modified 2026-08-11
- NVD: [CVE-2026-17435](https://nvd.nist.gov/vuln/detail/CVE-2026-17435), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-17435 · Whole record: https://cve.day/CVE-2026-17435.json · Rebuilt by cve.day 2026-11-25T22:59:31.871Z
