# CVE-2024-42474: Path traveral in Streamlit on windows

Source: https://junglewise.ai/threats/cve-2024-42474-path-traveral-in-streamlit-on-windows  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-08-12  
License: CC BY 4.0 with a link back

CVE-2024-42474 · Severity: low · CVSS 3.1 · Published 2024-08-12

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.

Technologies: [streamlit (PyPI)](https://junglewise.ai/threats/technologies/pypi-streamlit). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-42474 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-42474 being exploited in the wild.

**How severe is CVE-2024-42474?** Low severity, with a CVSS score of 3.1, published 12 August 2024.

**Which products and versions are affected?** streamlit (PyPI) ECOSYSTEM:introduced=0,fixed=1.37.0, GIT:introduced=0,fixed=3a639859cfdfba2187c81897d44a3e33825eb0a3|ECOSYSTEM:introduced=0,fixed=1.37.0.

**Is there a fix for CVE-2024-42474?** Yes. streamlit (PyPI): upgrade to 1.37.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-42474?** Check whether you run streamlit (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- streamlit (PyPI): upgrade to 1.37.0 or later

  ```sh
  pip install "streamlit>=1.37.0"
  ```


## Affected products

- streamlit (PyPI) ECOSYSTEM:introduced=0,fixed=1.37.0, GIT:introduced=0,fixed=3a639859cfdfba2187c81897d44a3e33825eb0a3|ECOSYSTEM:introduced=0,fixed=1.37.0

## Identifiers

- CVE-2024-42474
- GHSA-rxff-vr5r-8cj5
- PYSEC-2024-153

## Related threats

- [Streamlit weak hash in caching component](https://junglewise.ai/threats/cve-2026-10804-streamlit-weak-hash-in-caching-component)
- [Unauthenticated SSRF Vulnerability in Streamlit on Windows (NTLM Credential Exposure)](https://junglewise.ai/threats/cve-2026-33682-unauthenticated-ssrf-vulnerability-in-streamlit-on-windows-ntlm)
- [Streamlit publishes previously-patched Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2023-27494-streamlit-publishes-previously-patched-cross-site-scripting)
- [Streamlit directory traversal vulnerability](https://junglewise.ai/threats/cve-2022-35918-streamlit-directory-traversal-vulnerability)
