CVE-2022-35918 json
Streamlit directory traversal vulnerability
published 4y ago modified 4mo ago also GHSA-v4hr-4jpx-56gc , PYSEC-2022-248 , EUVD-2022-0282
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2022-35918 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.77% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | streamlit | >=0.63.0, <1.11.1 |
1.11.1 |
Affected products
- streamlit streamlit
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/streamlit/streamlit/commit/80d9979d5f4a00217743d607078a1d867fad8acf
web, patch, third-party-advisory
-
github.com
/streamlit/streamlit/security/advisories/GHSA-v4hr-4jpx-56gc
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-35918
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/streamlit/PYSEC-2022-248.yaml
web
-
github.com
/streamlit/streamlit
package
Sources
- CVE List CVE-2022-35918
- GitHub Advisory GHSA-v4hr-4jpx-56gc
- NVD CVE-2022-35918
- OSV PYSEC-2022-248
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.