# CVE-2022-35918: Streamlit directory traversal vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.82%, higher than 79% of CVEs (2026-12-01)
- Published: 2022-08-01T21:25:10.000Z
- Modified: 2026-06-17T04:52:31.127Z
- Also known as: GHSA-v4hr-4jpx-56gc, PYSEC-2022-248
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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. This issue has been resolved in version 1.11.1. Users are advised to upgrade. There are no known workarounds for this issue.

(As written by CVE List.)

## Affected

- streamlit streamlit: >= 0.63.0, < 1.11.1
- streamlit (PyPI): from 0.63.0 before 1.11.1; before 80d9979d5f4a00217743d607078a1d867fad8acf
- snowflake streamlit: from 0.63.0 before 1.11.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/streamlit/streamlit/security/advisories/GHSA-v4hr-4jpx-56gc> (advisory, third-party-advisory, web)
- <https://github.com/streamlit/streamlit/commit/80d9979d5f4a00217743d607078a1d867fad8acf> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-35918> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/streamlit/PYSEC-2022-248.yaml> (web)
- <https://github.com/streamlit/streamlit> (package)

## Sources

- CVE List: [CVE-2022-35918](https://www.cve.org/CVERecord?id=CVE-2022-35918), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-v4hr-4jpx-56gc](https://github.com/advisories/GHSA-v4hr-4jpx-56gc), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-35918](https://nvd.nist.gov/vuln/detail/CVE-2022-35918), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-248](https://osv.dev/vulnerability/PYSEC-2022-248), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2022-35918 · Whole record: https://cve.day/CVE-2022-35918.json · Rebuilt by cve.day 2026-11-25T22:58:13.354Z
