CVE-2026-17435

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

No configuration.

History

23 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de File::Rotate::Simple anteriores a la 0.4.0 para Perl crean el objetivo de enlaces simbólicos colgantes al rotar archivos. Cuando el archivo a rotar es un enlace simbólico a un archivo faltante, y la opción ’touch’ está habilitada, entonces el método ’rotate’ asume que el archivo está ausente (ya que la verificación de existencia es contra el objetivo), y no lo rota. Pero toca el archivo, lo que crea el objetivo. Un atacante que tiene la capacidad de crear el enlace simbólico puede usar esto para crear un archivo arbitrario con los permisos del proceso que rota los archivos (lo que puede ser diferente del proceso que normalmente escribe en el archivo de registro que se está rotando). Tenga en cuenta que la opción ’touch’ está deshabilitada por defecto.

Information

Published : 2026-08-07 19:17

Updated : 2026-10-23 20:10


NVD link : CVE-2026-17435

Mitre link : CVE-2026-17435

CVE.ORG link : CVE-2026-17435


JSON object : View

Products Affected

No product.

CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')