{"id":"CVE-2024-42474","aliases":["CVE-2024-42474","GHSA-rxff-vr5r-8cj5","PYSEC-2024-153"],"related":[],"kind":"vulnerability","state":"published","title":"Streamlit Path Traversal Security Vulnerability on Windows","summary":"Streamlit is a data oriented application development framework for python. Snowflake Streamlit open source addressed a security vulnerability via the static file sharing feature. Users of hosted Streamlit app(s) on Windows were vulnerable to a path traversal vulnerability when the static file sharing feature is enabled. An attacker could utilize the vulnerability to leak the password hash of the Windows user running Streamlit. The vulnerability was patched on Jul 25, 2024, as part of Streamlit open source version 1.37.0. The vulnerability only affects Windows.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Streamlit is a data oriented application development framework for python. Snowflake Streamlit open source addressed a security vulnerability via the static file sharing feature. Users of hosted Streamlit app(s) on Windows were vulnerable to a path traversal vulnerability when the static file sharing feature is enabled. An attacker could utilize the vulnerability to leak the password hash of the Windows user running Streamlit. The vulnerability was patched on Jul 25, 2024, as part of Streamlit open source version 1.37.0. The vulnerability only affects Windows.","source":"cvelist"},{"lang":"en","text":"### 1. Impacted Products\nStreamilt Open Source versions before 1.37.0.\n\n### 2. Introduction\nSnowflake Streamlit open source addressed a security vulnerability via the [static file sharing feature](https://docs.streamlit.io/develop/concepts/configuration/serving-static-files). The vulnerability was patched on Jul 25, 2024, as part of Streamlit open source version 1.37.0. The vulnerability only affects Windows.\n\n### 3. Path Traversal Vulnerability \n#### 3.1 Description\nOn May 12, 2024, Streamlit was informed via our bug bounty program about a path traversal vulnerability in the open source library. We fixed and merged a patch remediating the vulnerability on Jul 25, 2024. The issue was determined to be in the moderate severity range with a maximum CVSSv3 base score of [5.9](https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N)\n#### 3.2 Scenarios and attack vector(s)\nUsers of hosted Streamlit app(s) on Windows were vulnerable to a path traversal vulnerability when the [static file sharing feature](https://docs.streamlit.io/develop/concepts/configuration/serving-static-files) is enabled. An attacker could utilize the vulnerability to leak the password hash of the Windows user running Streamlit. \n#### 3.3 Resolution\nThe vulnerability has been fixed in all Streamlit versions released since Jul 25, 2024. We recommend all users upgrade to Version 1.37.0.\n\n### 4. Contact\nPlease contact security@snowflake.com if you have any questions regarding this advisory. If you discover a security vulnerability in one of our products or websites, please report the issue to HackerOne. For more information, please see our [Vulnerability Disclosure Policy](https://hackerone.com/snowflake?type=team).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Streamlit es un framework de desarrollo de aplicaciones orientado a datos para Python. El código abierto Snowflake Streamlit solucionó una vulnerabilidad de seguridad mediante la función de intercambio de archivos estáticos. Los usuarios de aplicaciones Streamlit alojadas en Windows eran vulnerables a una vulnerabilidad de Path Traversal cuando la función para compartir archivos estáticos estaba habilitada. Un atacante podría utilizar la vulnerabilidad para filtrar el hash de la contraseña del usuario de Windows que ejecuta Streamlit. La vulnerabilidad se corrigió el 25 de julio de 2024, como parte de la versión 1.37.0 de código abierto de Streamlit. La vulnerabilidad sólo afecta a Windows.","source":"nvd"}],"published":"2024-08-12T17:01:44.557Z","modified":"2026-06-17T07:49:31.253Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 1.37.0","status":"affected"}],"vendor":"streamlit","product":"streamlit","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.37.0"}],"ecosystem":"PyPI","package":"streamlit","purl":"pkg:pypi/streamlit","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.37.0"}],"vendor":"snowflake","product":"streamlit","cpe":"cpe:2.3:a:snowflake:streamlit:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"3a639859cfdfba2187c81897d44a3e33825eb0a3"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.37.0"}],"ecosystem":"PyPI","package":"streamlit","purl":"pkg:pypi/streamlit","repo":"https://github.com/streamlit/streamlit","source":"pysec"}],"references":[{"url":"https://github.com/streamlit/streamlit/security/advisories/GHSA-rxff-vr5r-8cj5","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/streamlit/streamlit/commit/3a639859cfdfba2187c81897d44a3e33825eb0a3","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42474","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/streamlit/PYSEC-2024-153.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/streamlit/streamlit","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-12T19:27:54.309Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42474","url":"https://www.cve.org/CVERecord?id=CVE-2024-42474","licence":"CVE Terms of Use","modified":"2024-08-12T19:28:13.750Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rxff-vr5r-8cj5","url":"https://github.com/advisories/GHSA-rxff-vr5r-8cj5","licence":"CC-BY-4.0","modified":"2024-11-26T19:07:24.272Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42474","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42474","licence":"Public domain","modified":"2026-06-17T07:49:31.253Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-153","url":"https://osv.dev/vulnerability/PYSEC-2024-153","licence":"CC-BY-4.0","modified":"2024-11-25T21:57:18.231Z"}],"updatedAt":"2026-11-25T22:58:44.224Z","epss":{"score":0.00568,"percentile":0.48461,"date":"2026-12-01T12:00:22.000Z"}}