2026-06-10
What is path traversal — reading files the server should never serve, via ../
Path traversal mixes ../ into a filename input to escape the base directory and read/write .env, config, or keys. The main defense: never use user input as a raw file path, and normalize-then-confine inside an allowed base directory.