CVE-2026-10804: Streamlit Streamlit @st.cache_data Hash Collision Vulnerability
LOWCVE-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.
CVE-2026-10804 at a Glance
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).
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.
pip install streamlit>=1.53.1
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
CVE-2026-10804 Affected Streamlit Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
streamlit
|
PyPI |
< 1.53.1
|
1.53.1
|
References
Frequently Asked Questions
What is CVE-2026-10804?
Which Streamlit versions are affected?
What version fixes CVE-2026-10804?
Is streamlit affected?
What is the CVSS score of CVE-2026-10804?
What CWE is associated with CVE-2026-10804?
How can I check PyPI dependencies for CVE-2026-10804?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}