CVE-2026-17435

Source
https://cve.org/CVERecord?id=CVE-2026-17435
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-17435.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-17435
Aliases
  • GHSA-fpmm-8f6h-wv74
Published
2026-08-07T19:03:48.138Z
Modified
2026-08-09T03:45:50.859909819Z
Summary
File::Rotate::Simple versions before 0.4.0 for Perl create the target of dangling symlinks when rotating files
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/17xxx/CVE-2026-17435.json",
    "cna_assigner": "CPANSec"
}
References

Affected packages

Git / github.com/robrwo/file-rotate-simple

Affected ranges

Type
GIT
Repo
https://github.com/robrwo/file-rotate-simple
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.4.0"
        }
    ],
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.1.1
v0.1.2
v0.1.3
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-17435.json"