The issue is caused by a race condition with the `umask()` call inside `archive write disk posix.c`, which can lead to a permanent umask 0 setting. This can result in implicit directory creation with permissions 0777, allowing any low-privileged local user to delete and rename files inside those directories. The `umask()` function changes the umask of the whole process for a short period, and a race condition with another thread can cause this setting to become permanent.