CVE-2026-10804: Streamlit @st.cache_data hash collision via fixed sampling seed and PIL P-mode palette omission
(updated )
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.
References
- github.com/advisories/GHSA-vqwp-45wm-r9r5
- github.com/pypa/advisory-database/tree/main/vulns/streamlit/PYSEC-2026-212.yaml
- github.com/streamlit/streamlit
- github.com/streamlit/streamlit/commit/fec0f584dae9261abed16cad35b32922104bb933
- github.com/streamlit/streamlit/issues/14622
- github.com/streamlit/streamlit/pull/14635
- github.com/streamlit/streamlit/pull/15397
- nvd.nist.gov/vuln/detail/CVE-2026-10804
- vuldb.com/cve/CVE-2026-10804
- vuldb.com/submit/831508
- vuldb.com/vuln/368253
- vuldb.com/vuln/368253/cti
Code Behaviors & Features
Detect and mitigate CVE-2026-10804 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →