File deletion is the removal of data stored on disk or in a filesystem. In cyber security, it matters because deleting files can break applications, remove configuration, erase logs, or disrupt user content even when an attacker never gets code execution. On servers and appliances, the impact can range from minor data loss to a full availability incident if critical repository, identity, or release files are removed.
Attackers may trigger file deletion through unsafe path handling, insecure file upload logic, command injection into maintenance tools, or flaws in server-side code that let user input influence filesystem operations. Defenders reduce the risk by validating input, restricting file permissions, isolating sensitive paths, keeping backups, and monitoring for unusual delete activity. In practice, file deletion bugs are dangerous because they turn a simple request into a business interruption problem.


