A Zip Slip path traversal issue combined with a Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the widget installation flow. The `is valid filename()` function in `wgtpkg-zip.c` fails to check for dot notation directory traversal sequences, blocking only absolute paths. Consequently, the `zread()` extraction function uses `openat(workdirfd, filename, O CREAT)`, which resolves dot notation relative to the work directory, enabling files to be written anywhere on the filesystem. In the `install widget()` function within `wgtpkg-install.c`, extraction via `zread()` occurs before signature verification via `check all signatures()`. If signature verification fails, the `remove workdir()` cleanup process only deletes the temporary work directory, leaving files written outside that directory via path traversal permanently on the system.