{"id":"CVE-2022-35918","published":"2022-08-01T21:25:10Z","modified":"2025-04-23T17:54:37Z","title":"Streamlit directory traversal vulnerability","vendor":"streamlit","product":"streamlit","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01767,"percentile":0.78642,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/streamlit/streamlit/security/advisories/GHSA-v4hr-4jpx-56gc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/streamlit/streamlit/commit/80d9979d5f4a00217743d607078a1d867fad8acf","tags":["x_refsource_MISC"]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":15.73},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"streamlit","affectedVersions":[{"vendor":"streamlit","product":"streamlit","versions":[">= 0.63.0, < 1.11.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:02:33.367518Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"streamlit","vulnerableRanges":[">=0.63.0, <1.11.1"],"patched":["1.11.1"],"from":["GHSA-v4hr-4jpx-56gc","PYSEC-2022-248"],"provenance":"source"}],"summary":{"text":"A directory traversal flaw in Streamlit, the Python framework for data-oriented applications, affects apps that use custom components and allows files on the hosting server's file system to be read. An unauthenticated remote attacker can exploit it by getting a victim to open a crafted URL containing file paths, which causes the server to return the contents of those files, such as server logs or world-readable files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:30Z"},"euvd":{"id":"EUVD-2022-0282","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-streamlit-cve-2022-35918","children":[{"from":"CVE-2022-35918","to":"CVE-2023-27494","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/streamlit/components/v1/components.py"],"commits":["https://github.com/streamlit/streamlit/commit/80d9979d5f4a00217743d607078a1d867fad8acf","https://github.com/streamlit/streamlit/commit/afcf880c60e5d7538936cc2d9721b9e1bc02b075"],"basis":"shared function","functions":["get"]}]}]}}