# CVE-2022-35918: Streamlit directory traversal vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-08-01 · Modified: 2025-04-23
- Aliases: GHSA-v4hr-4jpx-56gc, PYSEC-2022-248
- Record: https://cvemate.com/vulnerability/CVE-2022-35918 · JSON: https://cvemate.com/vulnerability/CVE-2022-35918/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- EPSS: 1.816%, percentile 79.442%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- PyPI streamlit (PyPI): \< 80d9979d5f4a00217743d607078a1d867fad8acf \| ≥ 0.63.0, \< 1.11.1
- snowflake streamlit: ≥ 0.63.0, \< 1.11.1
- streamlit streamlit: ≥ 0.63.0, \< 1.11.1

## References

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

---

Data as of 2026-12-05T12:51:46.497Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
