Medium

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

  • Disclosed: 01.08.2022
  • Updated: 11.10.2026 11:19

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 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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) streamlit >= 0.63.0, < 1.11.1 1.11.1

References

CVSS score 6.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-22
Platform
Python (PyPI)
Package
streamlit
Disclosed
01.08.2022
Updated
11.10.2026 11:19

Sources and licenses

OSV / GitHub Advisory Database - GHSA-v4hr-4jpx-56gc - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2022-248 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: streamlit

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
6
First → latest
08.2022 06.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 6

Disclosures per year

  1. 2022: 1
  2. 2023: 1
  3. 2024: 2
  4. 2025: 0
  5. 2026: 2
  1. Medium · 5.9 CVE-2024-42474 < 1.37.0 1.37.0
  2. Medium · 5.3 ghsa-8qw9-gf7w-42x5 >= 0.63.0, < 1.30.0 1.30.0
  3. Medium · 5.9 CVE-2023-27494 >= 0.63.0, < 0.81.0 0.81.0
  4. 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 this entry
    Medium · 6.5 CVE-2022-35918 >= 0.63.0, < 1.11.1 1.11.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.