CVE-2026-72696: Php Insecure Lock File Symlink Overwrite

Writing to a lock file path without verifying if it is a symbolic link using `is_link()` allows local attackers to stage symlink attacks and overwrite arbitrary files.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-72696-php-insecure-lock-file-symlink-overwrite --engine opengrep

Description

Writing to a lock file path without verifying if it is a symbolic link using `is_link()` allows local attackers to stage symlink attacks and overwrite arbitrary files.