Skip to content
MediumVulnerability

CVE-2022-35918: Streamlit directory traversal in custom components leaks server files

Identifier
CVE-2022-35918
Published
Record updated
View JSON
Affected
  • streamlit >= 0.63.0, < 1.11.1
Fixed in
1.11.1
  • released July 27, 2022, 6 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.8%

Summary

CVE-2022-35918 affects Streamlit, a data-oriented application development framework for Python, in apps hosted by users that employ custom components. A directory traversal flaw lets an attacker craft a malicious URL containing file paths, and the Streamlit server returns the contents of those files. Exposed data can include server logs, world-readable files, and potentially other sensitive information.

Mitigation

This issue has been resolved in version 1.11.1. Users are advised to upgrade.