Path Traversal and LFI: Reading Files the App Never Meant to Serve

When a web app takes a filename from the user and reads it off disk, a few ../ sequences can walk out of the intended directory and into anything the server can read. Here I cover path traversal end to end, including a filter-bypass trick for when the app tries to strip dangerous input, using two DD CTF challenges as worked examples.

November 12, 2026 · 5 min · 937 words · Akshit Kathuria