Path Traversal
Overview
Path Traversal (Directory Traversal) occurs when user-supplied input is used to construct a file path without proper neutralization of special elements (like ../).
Remediation
Always sanitize user input, use filepath.Clean in Go, or os.path.abspath in Python, and verify that the final resolved path resides within the expected base directory.