Incident report
Streamlit Windows Static File Sharing Path Traversal Credential Leak
CVE-2024-42474 exposed a path traversal vulnerability in Streamlit (`< 1.37.0`) running on Windows hosts when `enableStaticServing` was enabled. Crafted HTTP requests could escape the static asset folder and force Windows SMB/file lookups or expose sensitive local files and NTLM credential hashes of the service account. Because data science teams heavily use Streamlit for internal LLM demos and RAG prototypes, exposed servers risked leaking corporate Windows credentials. Maintainers patched Windows path normalization in Streamlit v1.37.0.
Incident record
- Reported
- Severity
- High
- Vector
- Exposed Infrastructure
- Affected system type
- Python AI Demo & Data-App Servers
- Reference
CVE-2024-42474- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-42474
Defensive lesson
Upgrade Streamlit past 1.37.0, disable static file serving unless required, and run AI app servers under low-privilege Linux containers.
Referenced techniques
- Data from Local System AML.T0037
- Exploit Public-Facing Application AML.T0049
- Unsecured Credentials AML.T0055
- OS Credential Dumping AML.T0090