Streamlit · Streamlit · CVE-2022-35918
**Name of the Vulnerable Software and Affected Versions**
Streamlit versions prior to 1.11.1
**Description**
Streamlit is a data-oriented application development framework for python. Users hosting Streamlit app(s) that use custom components are vulnerable to a directory traversal attack that could leak data from their web server file-system, such as server logs, world-readable files, and potentially other sensitive information. An attacker can craft a malicious URL with file paths, and the Streamlit server would process that URL and return the contents of that file or overwrite existing files on the web-server.
**Recommendations**
For versions prior to 1.11.1, upgrade to version 1.11.1 to resolve the issue. As a general security practice, review custom components for any malicious code before using them in apps, and follow security best practices such as running web servers with low privileges and using firewalls to mitigate the severity of such exploits.