Arbitrary File Upload Affecting streamlit package, versions [,1.43.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary File Upload vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-STREAMLIT-8749606
  • published30 Mar 2025
  • disclosed25 Feb 2025
  • creditSn1r

Introduced: 25 Feb 2025

CVE-2025-1684  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade streamlit to version 1.43.2 or higher.

Overview

streamlit is a The fastest way to build data apps in Python

Affected versions of this package are vulnerable to Arbitrary File Upload in the file_uploader.py widget, which does not enforce uploaded file type restrictions on the server side, even if they are set in the client.

CVSS Base Scores

version 4.0
version 3.1