Streamlit @st.cache_data hash collision via fixed sampling seed and PIL P-mode palette omission
Low severity
GitHub Reviewed
Published
Jun 4, 2026
to the GitHub Advisory Database
•
Updated Jul 15, 2026
Description
Published by the National Vulnerability Database
Jun 4, 2026
Published to the GitHub Advisory Database
Jun 4, 2026
Last updated
Jul 15, 2026
Reviewed
Jul 15, 2026
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