Path traversal in starlette - #VU132129
Published: May 16, 2023 / Updated: May 22, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to path traversal in StaticFiles when handling crafted path requests. A remote attacker can request a specially crafted path to disclose sensitive information.
Files or directories whose names start with the same prefix as the configured static directory may be exposed.