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
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. This issue has been resolved in version 1.11.1. Users are advised to upgrade. There are no known workarounds for this issue.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | streamlit | >= 0.63.0, < 1.11.1 | 1.11.1 |
References
- https://github.com/streamlit/streamlit/security/advisories/GHSA-v4hr-4jpx-56gc
- https://nvd.nist.gov/vuln/detail/CVE-2022-35918
- https://github.com/streamlit/streamlit/commit/80d9979d5f4a00217743d607078a1d867fad8acf
- https://github.com/pypa/advisory-database/tree/main/vulns/streamlit/PYSEC-2022-248.yaml
- https://github.com/streamlit/streamlit
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-22- Platform
- Python (PyPI)
- Package
streamlit- Disclosed
- 01.08.2022
- Updated
- 11.10.2026 11:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-v4hr-4jpx-56gc - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2022-248 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: streamlit
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 08.2022 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 6
Disclosures per year
- 2022: 1
- 2023: 1
- 2024: 2
- 2025: 0
- 2026: 2
-
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 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.