CVE-2022-35918: Streamlit directory traversal vulnerability

Published Aug 1, 2022
·
Updated

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.

Affected Software

2 affected components
Snowflake Streamlit>=0.63.0<1.11.1
Streamlit Streamlit>=0.63.0<1.11.1

Event History

Aug 1, 2022
CVE Published
via MITRE·09:25 PM
Data Sourced
via MITRE·09:25 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-35918?

CVE-2022-35918 is a vulnerability in Streamlit, a data-oriented application development framework for Python, that allows for a directory traversal attack.

2

What can happen if I am affected by CVE-2022-35918?

If you are affected by CVE-2022-35918, an attacker could potentially leak data from your web server file system, including server logs and world-readable files.

3

How does CVE-2022-35918 affect Streamlit?

CVE-2022-35918 affects Streamlit versions 0.63.0 to 1.11.1 that use custom components.

4

What is the severity of CVE-2022-35918?

CVE-2022-35918 has a severity level of medium, with a severity value of 6.5.

5

How can I fix CVE-2022-35918?

To fix CVE-2022-35918, upgrade to a version of Streamlit that is not affected by this vulnerability and avoid using custom components.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203