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

Summary

CVECVE-2026-17435
StatePUBLISHED
AssignerCPANSec
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-07 19:17:37 UTC
Updated2026-08-07 22:16:57 UTC
DescriptionFile::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.

Risk And Classification

Problem Types: CWE-59 | CWE-59 CWE-59 Improper Link Resolution Before File Access ('Link Following')

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA RRWO FileRotateSimple affected 0.4.0 custom Not specified

References

ReferenceSourceLinkTags
metacpan.org/release/RRWO/File-Rotate-Simple-v0.4.0/changes 9b29abf9-4ab0-4765-b253-1875cd9b441e metacpan.org
www.openwall.com/lists/oss-security/2026/08/07/7 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
github.com/robrwo/File-Rotate-Simple/security/advisories/GHSA-fpmm-8f6h-... 9b29abf9-4ab0-4765-b253-1875cd9b441e github.com
github.com/robrwo/File-Rotate-Simple/commit/ead3f5c0e51217b34d286aa24394... 9b29abf9-4ab0-4765-b253-1875cd9b441e github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

Solutions

CNA: Upgrade to version 0.4.0 or later.

Workarounds

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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report