{"id":"CVE-2026-108258","published":"2026-10-09T20:34:39Z","modified":"2026-10-13T18:33:20Z","title":"Shiny for Python - Path traversal in bookmark restore","vendor":"posit-dev","product":"py-shiny","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00522,"percentile":0.37688,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/posit-dev/py-shiny/security/advisories/GHSA-47c3-hpmg-7j6p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/posit-dev/py-shiny/commit/1d8ecb46cbc9621b7dc8812111d26692e086b376","tags":["x_refsource_MISC"]},{"url":"https://github.com/posit-dev/py-shiny/releases/tag/v1.6.4","tags":["x_refsource_MISC"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":7.54},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"posit-dev","affectedVersions":[{"vendor":"posit-dev","product":"py-shiny","versions":[">= 1.4.0, < 1.6.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-13T18:33:09.230741Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"shiny","vulnerableRanges":[">=1.4.0, <1.6.4"],"patched":["1.6.4"],"from":["GHSA-47c3-hpmg-7j6p","PYSEC-2026-4300"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in py-shiny (Shiny for Python, by posit-dev) affects the bookmark restore feature, where a client-supplied state_id is joined into the server-side bookmark directory without being validated as a single safe path segment. An unauthenticated remote attacker can exploit this with crafted requests using parent-directory segments or absolute paths to make the server read files outside the bookmark store, and where bookmark_store is set to server with ui.input_file(), to copy and expose attacker-selected files from attacker-selected directories.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:50Z"},"euvd":{"id":"EUVD-2026-95986","exploited":false,"provenance":"source"}}