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
References
- https://github.com/widgetti/solara/security/advisories/GHSA-9794-pc4r-438w[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-39903[ADVISORY]
- https://github.com/widgetti/solara/commit/df2fd66a7f4e8ffd36e8678697a8a4f76760dc54[WEB]
- https://github.com/widgetti/solara[PACKAGE]
- https://pypi.org/project/solara[PACKAGE]
- https://github.com/advisories/GHSA-9794-pc4r-438w[ADVISORY]