A symbolic link, or symlink, is a filesystem object that points to another file or directory path. When software opens the link, the operating system resolves the target path instead of the link itself. This makes symlinks useful for shortcuts and flexible directory layouts, but also risky when code assumes that a path string describes the real destination.
In cyber security, symlinks matter because they can redirect file reads, writes, deletes, and archive extraction outside an intended directory. Attackers may place a symlink in a writable folder, then wait for privileged software to follow it and overwrite a sensitive file or escape a sandbox. Defenders reduce this risk by resolving paths with link-aware checks, rejecting unexpected links in untrusted content, extracting into fresh directories, and running with least privilege. Symlink handling is a common source of path traversal and arbitrary file write bugs.


