Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. streamlit
  4. ›
  5. CVE-2022-35918

CVE-2022-35918: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

August 1, 2022 (updated October 29, 2022)

Streamlit is a data oriented application development framework for python. Users hosting Streamlit app(s) that use custom components is 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 or overwrite existing files on the web-server. This issue has been resolved in version 1.11.1. Users are advised to upgrade. There are no known workarounds for this issue.

References

  • github.com/advisories/GHSA-v4hr-4jpx-56gc
  • github.com/streamlit/streamlit/commit/80d9979d5f4a00217743d607078a1d867fad8acf
  • github.com/streamlit/streamlit/security/advisories/GHSA-v4hr-4jpx-56gc
  • nvd.nist.gov/vuln/detail/CVE-2022-35918

Code Behaviors & Features

Detect and mitigate CVE-2022-35918 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.63.0 before 1.11.1

Fixed versions

  • 1.11.1

Solution

Upgrade to version 1.11.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/streamlit/CVE-2022-35918.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.