Vulnerabilities in pkg:pypi/streamlit

PACKAGE
Advisory Identifier: GHSA-vqwp-45wm-r9r5
Advisory Summary

CVE-2026-10804 is a LOW (CVSS 3.6) streamlit @st.cache_data hash collision vulnerability (CWE-327: Use of a Broken or Risky Cryptographic Algorithm) affecting Streamlit libraries in the PyPI ecosystem. The issue involves streamlit @st.cache_data hash collision via fixed sampling seed and pil p-mode palette omission. Remediation is available by upgrading affected packages to version 1.53.1.

5 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/streamlit

5 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/streamlit. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vqwp-45wm-r9r5 CVE-2026-10804 LOW Streamlit @st.cache_data hash collision via fixed sampling seed and PIL P-mode palette omission
GHSA-8qw9-gf7w-42x5 - MODERATE Minor fix to previous patch for CVE-2022-35918
GHSA-rxff-vr5r-8cj5 CVE-2024-42474 MODERATE Path traveral in Streamlit on windows
GHSA-9c6g-qpgj-rvxw CVE-2023-27494 MODERATE Streamlit publishes previously-patched Cross-site Scripting vulnerability
GHSA-v4hr-4jpx-56gc CVE-2022-35918 MODERATE Streamlit directory traversal vulnerability

CVE-2026-10804 at a Glance

CVE Identifier CVE-2026-10804
GHSA Identifier GHSA-vqwp-45wm-r9r5
Severity LOW
CVSS v3.1 Base Score 3.6
CWE Classification CWE-327: Use of a Broken or Risky Cryptographic Algorithm
Affected Product Streamlit
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 3.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2026-10804

To remediate this vulnerability, upgrade all affected Streamlit dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

streamlit fixed: 1.53.1
pip install streamlit>=1.53.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show streamlit

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-10804, inspect your installed packages using pip:

pip show streamlit

Analyze the terminal output to locate any version of Streamlit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.53.1), your application is affected.

Note: The pip show streamlit command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm, where the product uses a broken or risky cryptographic algorithm or protocol. In Streamlit, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability has been found in Streamlit up to 1.53.0. Impacted is an unknown function in the library lib/streamlit/runtime/caching/hashing.py of the component Palette Handler. Such manipulation leads to use of weak hash. Local access is required to approach this attack. The attack requires a high level of complexity. The exploitability is considered difficult. The exploit has been disclosed to the public and may be used. The pull request to fix this issue awaits acceptance.

CVE-2026-10804 Affected Streamlit Versions

1 component(s)
Fixed Versions:
1.53.1
Product / Package Ecosystem Affected Versions Fixed Version
streamlit
PyPI
< 1.53.1
1.53.1

References

Frequently Asked Questions

What is CVE-2026-10804?
CVE-2026-10804 is a security vulnerability in Streamlit involving Streamlit @st.cache_data hash collision via fixed sampling seed and PIL P-mode palette omission under CWE-327: Use of a Broken or Risky Cryptographic Algorithm.
Which Streamlit versions are affected?
Affected versions include releases prior to 1.53.1 across affected packages: streamlit.
What version fixes CVE-2026-10804?
Upgrading to 1.53.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is streamlit affected?
Yes, streamlit is affected in releases prior to 1.53.1. Upgrade your dependency to 1.53.1 or later.
What is the CVSS score of CVE-2026-10804?
CVE-2026-10804 has a CVSS v3.1 base score of 3.6 (LOW) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L.
What CWE is associated with CVE-2026-10804?
CVE-2026-10804 is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm (The product uses a broken or risky cryptographic algorithm or protocol.).
How can I check PyPI dependencies for CVE-2026-10804?
Run the dependency tree command: 'pip show streamlit'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-vqwp-45wm-r9r5",
  "modified" : "2026-07-15T21:49:13Z",
  "published" : "2026-06-04T12:30:26Z",
  "aliases" : [ "CVE-2026-10804" ],
  "summary" : "Streamlit @st.cache_data hash collision via fixed sampling seed and PIL P-mode palette omission",
  "details" : "A vulnerability has been found in Streamlit up to 1.53.0. Impacted is an unknown function in the library lib/streamlit/runtime/caching/hashing.py of the component Palette Handler. Such manipulation leads to use of weak hash. Local access is required to approach this attack. The attack requires a high level of complexity. The exploitability is considered difficult. The exploit has been disclosed to the public and may be used. The pull request to fix this issue awaits acceptance.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "streamlit"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.53.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-10804"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/streamlit/streamlit/issues/14622"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/streamlit/streamlit/pull/14635"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/streamlit/streamlit/pull/15397"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/streamlit/streamlit/commit/fec0f584dae9261abed16cad35b32922104bb933"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/streamlit/PYSEC-2026-212.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/streamlit/streamlit"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/cve/CVE-2026-10804"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/831508"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/368253"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/368253/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-327" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-15T21:49:13Z",
    "nvd_published_at" : "2026-06-04T12:16:24Z"
  }
}