Skip to main content

Streamlit EUVDEUVD-2026-34246

| CVE-2026-10804 LOW
Use of a Broken or Risky Cryptographic Algorithm (CWE-327)
2026-06-04 cna@vuldb.com GHSA-vqwp-45wm-r9r5
1.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local OS access (PR:L)
  2. Delivery
    Craft two PIL P-mode images with identical pixel buffers but divergent palettes
  3. Exploit
    Submit first image to cached Streamlit function to populate cache
  4. Execution
    Submit second image to trigger cache lookup
  5. Impact
    Cache returns stale/incorrect result for distinct input (integrity impact)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Approved algorithm selection
Exploitation Conditions

Local access to the host is required (AV:L). The attacker must hold at least low-level OS privileges (PR:L). High attack complexity (AC:H) is confirmed by CVSS - constructing a valid hash-colliding object pair is non-trivial and requires deliberate crafting. Exploitation is limited to Streamlit applications that use the @st.cache_data or @st.cache_resource decorators on functions that accept PIL P-mode (palette-indexed) images as arguments, or that process large pandas/numpy/polars objects subject to the fixed-seed sampling path. Applications that do not cache PIL P-mode images are not exposed to the palette-collision variant. Default Streamlit installations without user-defined caching of palette images are unaffected by the primary vector. Authentication to the Streamlit UI layer is not relevant to the hash collision - the issue is in how cache keys are computed internally, so the limiting factors are local OS access and the specific use of the vulnerable caching patterns in the application code.

Impact

CVSS 4.0 scores this at 1.1, reflecting a genuinely low-risk finding. The attack vector is local (AV:L), attack complexity is high (AC:H), and low privileges are required (PR:L), meaning an attacker cannot exploit this remotely or without an existing foothold on the host. Impacts are limited to low integrity (VI:L) and low availability (VA:L) on the vulnerable system, with no confidentiality impact (VC:N) and no impact on subsequent systems. The E:P modifier confirms publicly available proof-of-concept code exists (the issue and PR are public on GitHub), but the vulnerability is not listed in the CISA KEV catalog. The practical threat model is narrow: an attacker must share a Streamlit deployment's local environment, be able to influence what objects are passed to cached functions, and succeed in constructing a hash-colliding input - all of which require high complexity. This is primarily a data-integrity concern (wrong cached results returned to application users) rather than a code-execution or data-exfiltration risk. EPSS data was not supplied; given the CVSS signal and absence of KEV, opportunistic mass exploitation is not a realistic concern.

Exploit ScenarioDerived

A local attacker with low privileges on a host running a multi-user or shared Streamlit application crafts two PIL P-mode images that share identical raw pixel index buffers but have different palette color tables (e.g., palette entry 0 maps to black in image A and red in image B). The attacker first invokes a cached Streamlit function with image A, populating the cache. When a legitimate user subsequently invokes the same function with image B, the caching layer returns the stale result computed for image A, silently serving incorrect output. A publicly disclosed exploit demonstrating this hash collision exists per the VulDB submission and GitHub issue.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 04, 2026

Hash collision vulnerability in Streamlit's caching layer (versions up to 1.53.0) allows a local low-privileged attacker to poison the application cache by supplying crafted PIL palette-mode images or large dataframes that produce identical hash digests for distinct objects. The root cause is twofold: PIL 'P'-mode (palette-indexed) images excluded palette data from the hash computation entirely, and fixed seed values (random_state=0) were used when sampling large pandas, numpy, and polars objects - both enabling deterministic hash collisions. No public exploit identified at time of analysis beyond the public disclosure of the issue. EPSS data is not available, but the CVSS 1.1 score (AV:L/AC:H/PR:L) places real-world risk as very low.

RemediationAI

No vendor-released patched version has been confirmed at time of analysis - the fix is contained in GitHub pull request #14635 (https://github.com/streamlit/streamlit/pull/14635), which awaits acceptance and has not been merged into a tagged release. Once merged and released, upgrading to the first version that includes PR #14635 is the primary remediation. As a compensating control, developers using Streamlit's caching decorators (@st.cache_data, @st.cache_resource) with functions that accept PIL P-mode (palette-indexed) images should convert images to RGB or RGBA mode before passing them to cached functions (e.g., img = img.convert('RGB')), which avoids the palette exclusion defect entirely; this has no functional side effect for most image-processing workflows. For large pandas/numpy/polars inputs, consider adding an explicit hash_funcs argument to the cache decorator to supply a deterministic, content-aware hash function, bypassing the vulnerable sampling path. These workarounds are low-risk but require application-level code changes.

Affected VersionsENISA

streamlit 1.11
streamlit 1.24
streamlit 1.6
streamlit 1.26
streamlit 1.53.0
streamlit 1.23
streamlit 1.44
streamlit 1.3
streamlit 1.2
streamlit 1.38
streamlit 1.19
streamlit 1.47
streamlit 1.21
streamlit 1.49
streamlit 1.29
streamlit 1.12
streamlit 1.48
streamlit 1.43
streamlit 1.10
streamlit 1.30
streamlit 1.18
streamlit 1.37
streamlit 1.36
streamlit 1.34
streamlit 1.15
streamlit 1.1
streamlit 1.27
streamlit 1.17
streamlit 1.45
streamlit 1.22
streamlit 1.46
streamlit 1.14
streamlit 1.28
streamlit 1.0
streamlit 1.41
streamlit 1.25
streamlit 1.7
streamlit 1.33
streamlit 1.42
streamlit 1.4
streamlit 1.50
streamlit 1.32
streamlit 1.5
streamlit 1.8
streamlit 1.20
streamlit 1.39
streamlit 1.51
streamlit 1.31
streamlit 1.40
streamlit 1.13
streamlit 1.9
streamlit 1.16
streamlit 1.52
streamlit 1.35

Affected Packages

pypi streamlit fix: 1.53.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerable component is lib/streamlit/runtime/caching/hashing.py, specifically the _HashStack._to_bytes method used by Streamlit's @st.cache_data and @st.cache_resource decorators to produce cache keys for function arguments. CWE-327 (Use of a Broken or Risky Cryptographic Algorithm) applies because the hash function produced non-unique digests: PIL images in 'P' (palette) mode were hashed using only their raw pixel index buffer via np.frombuffer(pil_obj.tobytes()), completely ignoring the palette color table, so two images sharing identical index buffers but entirely different color palettes were treated as equivalent. Separately, large pandas Series, DataFrames, numpy arrays, and polars objects were sampled before hashing using a globally fixed seed (random_state=0 / seed=0), meaning the same subset of rows/elements was always chosen regardless of the object's content - allowing a crafted object to match the hash of a different object if their sampled subsets collide. The fix (PR #14635, awaiting merge) introduces data-dependent seeds (_pandas_sample_seed, _numpy_sample_seed, _polars_sample_seed) derived from an MD5 digest of a content prefix, and prepends palette bytes to the pixel buffer for P-mode images prior to hashing. MD5 is used with usedforsecurity=False, which is appropriate here since the goal is cache disambiguation, not cryptographic integrity.

Know when Streamlit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 1.1 LOW
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

Primary rating from Vendor (vuldb) · only source for this CVE.

CVSS VectorVendor: vuldb

Attack Vector
Local
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 4 pypi packages depend on streamlit (4 direct, 0 indirect)

Ecosystem-wide dependent count for version 1.53.1.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

6
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +6
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy