application-security
Path Traversal
Path Traversal (Directory Traversal)
Definition
Path traversal attacks exploit insufficient validation of file paths to access files outside the intended directory. By inserting sequences like `../` into file path parameters, attackers can read sensitive files such as `/etc/passwd`, application configuration files, or private keys.
Prevention requires canonicalizing paths before use and validating that the resolved path is within an allowed base directory.
Ship secure code faster
Crash Override integrates security into the developer workflow. No context switching, no waiting on reviews.