{"api_version":"1","generated_at":"2026-08-08T05:02:42+00:00","cve":"CVE-2026-17435","urls":{"html":"https://cve.report/CVE-2026-17435","api":"https://cve.report/api/cve/CVE-2026-17435.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-17435","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-17435"},"summary":{"title":"File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files","description":"File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files.\n\nWhen 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.\n\nAn 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).\n\nNote that the touch option is disabled by default.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-08-07 19:17:37","updated_at":"2026-08-07 22:16:57"},"problem_types":["CWE-59","CWE-59 CWE-59 Improper Link Resolution Before File Access ('Link Following')"],"metrics":[],"references":[{"url":"https://metacpan.org/release/RRWO/File-Rotate-Simple-v0.4.0/changes","name":"https://metacpan.org/release/RRWO/File-Rotate-Simple-v0.4.0/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/08/07/7","name":"http://www.openwall.com/lists/oss-security/2026/08/07/7","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/robrwo/File-Rotate-Simple/security/advisories/GHSA-fpmm-8f6h-wv74","name":"https://github.com/robrwo/File-Rotate-Simple/security/advisories/GHSA-fpmm-8f6h-wv74","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/robrwo/File-Rotate-Simple/commit/ead3f5c0e51217b34d286aa243949dba60b39eba.patch","name":"https://github.com/robrwo/File-Rotate-Simple/commit/ead3f5c0e51217b34d286aa243949dba60b39eba.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-17435","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-17435","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"RRWO","product":"File::Rotate::Simple","version":"affected 0.4.0 custom","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to version 0.4.0 or later.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"For deployments that cannot be upgraded, ensure the touch option is disabled.","time":"","lang":"en"}],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-08-07T21:14:39.112Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/08/07/7"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"File-Rotate-Simple","product":"File::Rotate::Simple","programFiles":["lib/File/Rotate/Simple.pm"],"programRoutines":[{"name":"File::Rotate::Simple::_build_files_to_rotate"},{"name":"File::Rotate::Simple::rotate"}],"repo":"https://github.com/robrwo/File-Rotate-Simple","vendor":"RRWO","versions":[{"lessThan":"0.4.0","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files.\n\nWhen 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.\n\nAn 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).\n\nNote that the touch option is disabled by default."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","description":"CWE-59 Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-08-07T19:03:48.138Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["patch"],"url":"https://github.com/robrwo/File-Rotate-Simple/commit/ead3f5c0e51217b34d286aa243949dba60b39eba.patch"},{"tags":["vendor-advisory"],"url":"https://github.com/robrwo/File-Rotate-Simple/security/advisories/GHSA-fpmm-8f6h-wv74"},{"tags":["release-notes"],"url":"https://metacpan.org/release/RRWO/File-Rotate-Simple-v0.4.0/changes"}],"solutions":[{"lang":"en","value":"Upgrade to version 0.4.0 or later."}],"source":{"discovery":"UNKNOWN"},"title":"File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files","workarounds":[{"lang":"en","value":"For deployments that cannot be upgraded, ensure the touch option is disabled."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-17435","datePublished":"2026-08-07T19:03:48.138Z","dateReserved":"2026-07-25T12:35:32.249Z","dateUpdated":"2026-08-07T21:14:39.112Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-07 19:17:37","lastModifiedDate":"2026-08-07 22:16:57","problem_types":["CWE-59","CWE-59 CWE-59 Improper Link Resolution Before File Access ('Link Following')"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"17435","Ordinal":"1","Title":"File::Rotate::Simple versions before 0.4.0 for Perl create the t","CVE":"CVE-2026-17435","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"17435","Ordinal":"1","NoteData":"File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files.\n\nWhen 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.\n\nAn 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).\n\nNote that the touch option is disabled by default.","Type":"Description","Title":"File::Rotate::Simple versions before 0.4.0 for Perl create the t"}]}}}