Delete local file mounts without a shell

fix(security): delete local file mounts without a shell
Delete local file mounts without a shell861a1f-fix-delete-local-file-mounts-without-a-cve-2026-129986fixdelete local file mounts without shell

Committed by Siumauricio

commit message
fix(security): delete local file mounts without a shell

removeFileOrDirectory and removeDirectoryIfExistsContent ran an unquoted
rm -rf, so a file mount filePath like x$(cmd) executed on the host when
the mount was removed. Use fs.rm instead.

Editor assessment

This commit patches CVE-2026-129986. Compact and complete. The subject states the fix and its mechanism, removing the shell from file-mount deletion, and the body supplies the precise failure: removeFileOrDirectory and removeDirectoryIfExistsContent ran an unquoted rm -rf, so a filePath like x$(cmd) executed on the host when the mount was removed. It closes with the replacement, fs.rm. That is everything a reviewer needs, in two sentences, under an accurate security scope. A note on who can set that filePath would make it exemplary.

Browse categories

More fix examples · Back to search