Vulnerability · Published Oct 9, 2026 · Assigned by GitHub_M

CVE-2026-108258Shiny for Python - Path traversal in bookmark restore

Medium 6.9

In plain English

A medium-severity path traversal in py-shiny from posit-dev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.4%top 70.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Shiny for Python is a framework for building interactive web applications in Python. From 1.4.0 until 1.6.4, bookmark restore accepts a client-supplied state_id and joins it into the server-side shiny_bookmarks directory without validating that it is a single safe path segment. An unauthenticated request can use parent-directory segments or an absolute path to make the server open input.json and values.json outside the bookmark store, even when bookmark_store is set to disable. In applications configured with bookmark_store set to server and using ui.input_file(), the restore handler can additionally copy and expose an attacker-selected file from an attacker-selected directory. This issue is fixed in version 1.6.4.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIshiny1.6.4GHSA-47c3-hpmg-7j6p
PyPIshiny1.6.4PYSEC-2026-4300

Affected products (as reported)

VendorProductVersions
posit-dev py-shiny >= 1.4.0, < 1.6.4

Weakness: CWE-22 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

References