CVE-2026-108258 Shiny for Python - Path traversal in bookmark restore
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi shiny(PyPI) | = 1.4.0; = 1.5.0; = 1.5.1; = 1.6.0 +5 more | 1.6.4 | Fixed |
| posit-dev py-shiny | = >= 1.4.0, < 1.6.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi shiny(PyPI) | >= 1.4.0, < 1.6.4 | 1.6.4 |
| pypi shiny(PyPI) | = 1.4.0 | No fix listed |
| pypi shiny(PyPI) | = 1.5.0 | No fix listed |
| pypi shiny(PyPI) | = 1.5.1 | No fix listed |
| pypi shiny(PyPI) | = 1.6.0 | No fix listed |
| pypi shiny(PyPI) | = 1.6.1 | No fix listed |
| pypi shiny(PyPI) | = 1.6.2 | No fix listed |
| pypi shiny(PyPI) | = 1.6.3 | No fix listed |
| posit-dev py-shiny | = >= 1.4.0, < 1.6.4 | No fix listed |
| pypi shiny(PyPI) | >= 1.4.0, <= 1.6.3 | No fix listed |
References
- https://github.com/posit-dev/py-shiny/security/advisories/GHSA-47c3-hpmg-7j6p vendor-advisory
- https://github.com/posit-dev/py-shiny/commit/1d8ecb46cbc9621b7dc8812111d26692e086b376 patch
- github.com product
- https://github.com/posit-dev/py-shiny/releases/tag/v1.6.4
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- ENISA EUVD EUVD-2026-95986 third-party-advisory