The vulnerability arises from two key functions. The VoyagerCompassController::index method handles user inputs (like 'del' and 'download') and decodes them via base64, passing the result to LogViewer::pathToLogFile. The LogViewer::pathToLogFile function then checks if the decoded path exists as an absolute file, bypassing directory restrictions. This allows attackers to manipulate paths to access or delete arbitrary files. The code references from the advisory (lines 44 and 213 in VoyagerCompassController.php) confirm these points. The lack of input sanitization in the controller and improper path validation in LogViewer directly enable the path traversal, aligning with CWE-22.