VDB
Sign up
HIGH8.6

PYSEC-2026-1933

Local File Inclusion in Solara

Quick fix

PYSEC-2026-1933 — solara: upgrade to the fixed version with the command below.

pip install --upgrade 'solara>=1.35.1'

Details

A Local File Inclusion (LFI) vulnerability was identified in widgetti/solara, in version <1.35.1, which was fixed in version 1.35.1. This vulnerability arises from the application's failure to properly validate URI fragments for directory traversal sequences such as '../' when serving static files. An attacker can exploit this flaw by manipulating the fragment part of the URI to read arbitrary files on the local file system.

### References - https://github.com/widgetti/solara/security/advisories/GHSA-9794-pc4r-438w - https://github.com/widgetti/solara/commit/df2fd66a7f4e8ffd36e8678697a8a4f76760dc54 - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-39903

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/solara
Introduced in: 0Fixed in: 1.35.1
Fixpip install --upgrade 'solara>=1.35.1'

References