CVE-2026-72695 Grav before 2.0.16 Path Traversal via MediaUploadTrait deleteFile
설명
Grav before 2.0.16 contains a path traversal vulnerability in MediaUploadTrait::deleteFile() that allows authenticated users with media management permissions to delete arbitrary files by supplying filenames with directory traversal sequences. The method validates only the basename portion of the filename while preserving unvalidated directory paths containing ../ sequences that are passed to unlink(), enabling deletion of files outside the intended media storage directory.
영향 받는 제품 제품 1개
-
해결 버전 있음
getgrav
grav
영향 받는 버전
- 2.0.16 미만
해결 버전
- 2.0.16 이상
- 2.0.16