CVE-2022-35918
Python vulnerability analysis and mitigation

Overview

Streamlit, a data-oriented application development framework for Python, was found to contain a directory traversal vulnerability (CVE-2022-35918) affecting versions 0.63.0 through 1.11.0. The vulnerability was discovered and disclosed in July 2022, with a patch released on July 27th, 2022 in version 1.11.1. This security issue specifically affects users hosting Streamlit applications that utilize custom components (GitHub Advisory).

Technical details

The vulnerability is classified as a Path Traversal attack (CWE-22) with a CVSS v3.1 score of 6.5 (Medium severity). The attack vector is network-based, requiring low attack complexity and no privileges, though user interaction is required. The vulnerability allows attackers to craft malicious URLs with specific file paths that the Streamlit server would process and return the contents of files outside the intended directory structure (NVD).

Impact

When exploited, the vulnerability could allow attackers to access data from the web server's file system, including server logs, world-readable files, and other potentially sensitive information that should not be accessible through the Streamlit application (Security Online).

Mitigation and workarounds

The vulnerability was patched in Streamlit version 1.11.1, which ensures that file operations are restricted only to the custom component directory and cannot traverse outside of that scope. Users are strongly recommended to upgrade to v1.11.1 or later. Additional security best practices include reviewing custom components for malicious code before implementation, running web servers with low privileges, and implementing proper firewall configurations (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66471HIGH8.9
  • PythonPython
  • py3-urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-65958HIGH8.5
  • PythonPython
  • cpe:2.3:a:openwebui:open_webui
NoYesDec 04, 2025
CVE-2025-56427HIGH7.5
  • PythonPython
  • composio
NoNoDec 04, 2025
CVE-2025-63681MEDIUM4.3
  • PythonPython
  • open-webui
NoNoDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management