Directory traversal is a type of HTTP exploit in which a hacker uses the software on a web server to access data in a directory other than the server’s root directory.