Microsoft
CVE-2026-33682
MEDIUM
Severity by source
AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Lifecycle Timeline
3Blast Radius
ecosystem impact- 12 pypi packages depend on streamlit (9 direct, 3 indirect)
Ecosystem-wide dependent count for version 1.54.0.
DescriptionGitHub Advisory
Streamlit Open Source Security Advisory
1. Impacted Products
Streamlit Open Source versions prior to 1.54.0 running on Windows hosts.
2. Introduction
Snowflake Streamlit Open Source addressed a security vulnerability affecting Windows deployments related to improper handling and validation of filesystem paths within component request handling. The vulnerability was reported through the responsible disclosure program and has been remediated in Streamlit Open Source version 1.54.0. This issue affects only Streamlit deployments running on Windows operating systems.
3. Server-Side Request Forgery (SSRF) and NTLM Credential Exposure
3.1 Description
Streamlit was informed by a security researcher of an unauthenticated Server-Side Request Forgery (SSRF) vulnerability. The vulnerability arises from improper validation of attacker-supplied filesystem paths. In certain code paths, including within the ComponentRequestHandler, filesystem paths are resolved using os.path.realpath() or Path.resolve() before sufficient validation occurs.
On Windows systems, supplying a malicious UNC path (e.g., \\attacker-controlled-host\share) can cause the Streamlit server to initiate outbound SMB connections over port 445. When Windows attempts to authenticate to the remote SMB server, NTLMv2 challenge-response credentials of the Windows user running the Streamlit process may be transmitted.
This behavior may allow an attacker to:
- Perform NTLM relay attacks against other internal services
- Identify internally reachable SMB hosts via timing analysis
> Note: The issue is unauthenticated and does not require user interaction.
Captured NTLMv2 challenge-response hashes could be subjected to offline brute-force attacks in an attempt to recover the associated plaintext account password. While NTLMv2 incorporates a server challenge (nonce) that mitigates the use of precomputed rainbow tables, it does not prevent targeted offline password cracking against weak credentials.
Additionally, Microsoft has publicly discouraged the continued use of NTLM in favor of Kerberos and is actively progressing toward disabling NTLM by default in future Windows releases. Organizations that enforce NTLM restrictions, disable outbound NTLM authentication, require SMB signing, or block NTLM authentication to remote servers can reduce or eliminate the risk associated with credential relay or hash exposure scenarios.
As NTLM is considered legacy and increasingly deprecated (though not fully sunset), environments that have already implemented Microsoft-recommended NTLM hardening controls are less likely to be materially impacted. The overall risk therefore depends on the organization's authentication configuration and network security posture.
3.2 Scenarios and Attack Vectors
Streamlit applications running on Windows were vulnerable if component endpoints were exposed to untrusted networks. By appending an attacker-controlled SMB hostname to the URI path and issuing a GET request, the Streamlit server could be coerced into initiating an outbound SMB authentication attempt.
This could result in the leakage of NTLMv2 credential hashes for the Windows account running the Streamlit process.
3.3 Resolution
- The vulnerability has been fixed in Streamlit Open Source version 1.54.0.
- It is recommended that all Streamlit deployments on Windows be upgraded immediately to version 1.54.0 or later.
4. Contact
Please contact [security@snowflake.com](mailto:security@snowflake.com) for any questions regarding this advisory.
If a security vulnerability is discovered in a Streamlit product or website, it should be reported through the responsible disclosure program. For more information, see the Vulnerability Disclosure Policy.
AnalysisAI
Streamlit Open Source versions prior to 1.54.0 running on Windows contain an unauthenticated Server-Side Request Forgery (SSRF) vulnerability in the ComponentRequestHandler that improperly validates filesystem paths, allowing attackers to coerce the Streamlit server into initiating outbound SMB connections to attacker-controlled hosts. This can result in the exposure of NTLMv2 credential hashes for the Windows user running the Streamlit process, which may be subjected to offline brute-force attacks or relayed to other internal services. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog, but a patch is available from the vendor (version 1.54.0), and the attack requires network adjacency (AV:A) and is not trivial to exploit (AC:H).
Technical ContextAI
The vulnerability resides in Streamlit Open Source (CPE: pkg:pip/streamlit), specifically in path resolution logic within the ComponentRequestHandler. The root cause is classified under CWE-918 (Server-Side Request Forgery), which describes improper validation of user-supplied URLs or file paths before they are processed by the server. On Windows systems, the vulnerability exploits the behavior of UNC (Uniform Naming Convention) paths, which are network resource identifiers of the form \\hostname\share. When Streamlit resolves attacker-supplied UNC paths using os.path.realpath() or Path.resolve() without sufficient prior validation, Windows initiates SMB (Server Message Block) connections over port 445. During SMB authentication, the Windows NTLM protocol automatically transmits NTLMv2 challenge-response hashes containing cryptographic material tied to the authenticated user account. This behavior is specific to Windows operating systems and does not affect Linux or macOS deployments.
RemediationAI
Immediately upgrade Streamlit Open Source to version 1.54.0 or later; the patch is available via standard Python package management tools (pip install --upgrade streamlit). Organizations unable to upgrade immediately should implement network-level mitigations: restrict inbound access to Streamlit component endpoints to trusted networks only, disable outbound NTLM authentication where possible (via Windows Group Policy or equivalent), enforce SMB signing requirements, or block outbound SMB traffic (port 445) from the host running Streamlit. For defense-in-depth, consider isolating Streamlit applications to dedicated network segments with limited lateral movement to other SMB-enabled services. Verification of the patch can be performed by confirming the installed Streamlit version (streamlit --version) and cross-referencing with the GitHub release notes at https://github.com/streamlit/streamlit/releases/tag/1.54.0. Review the commit history at https://github.com/streamlit/streamlit/commit/23692ca70b2f2ac720c72d1feb4f190c9d6eed76 for detailed technical changes.
Same weakness CWE-918 – Server-Side Request Forgery (SSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today