CVE-2026-108902: Php Path Traversal Unvalidated File Deletion

A filesystem path handed to a file-deletion routine is built by string concatenation with an unvalidated value. Path-traversal sequences such as "../" (or backslashes or NUL bytes) in that value escape the intended media directory and let an attacker delete arbitrary files (other users' content, application configuration and cache files), causing content los

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-108902-php-path-traversal-unvalidated-file-deletion --engine opengrep

Description

A filesystem path handed to a file-deletion routine is built by string concatenation with an unvalidated value. Path-traversal sequences such as "../" (or backslashes or NUL bytes) in that value escape the intended media directory and let an attacker delete arbitrary files (other users' content, application configuration and cache files), causing content los