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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-10-09T20:34:39.539Z
- Modified: 2026-10-16T17:25:57.940Z
- Also known as: GHSA-47c3-hpmg-7j6p, PYSEC-2026-4300
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- posit-dev py-shiny: >= 1.4.0, < 1.6.4
- shiny (PyPI): from 1.4.0 before 1.6.4

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- PyPA Advisory Database: CVSS:4.0 `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

- <https://github.com/posit-dev/py-shiny/security/advisories/GHSA-47c3-hpmg-7j6p> (web)
- <https://github.com/posit-dev/py-shiny/commit/1d8ecb46cbc9621b7dc8812111d26692e086b376> (web)
- <https://github.com/posit-dev/py-shiny/releases/tag/v1.6.4> (web)
- <https://github.com/posit-dev/py-shiny> (package)
- <https://pypi.org/project/shiny> (package)
- <https://github.com/advisories/GHSA-47c3-hpmg-7j6p> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-108258> (advisory)

## Sources

- CVE List: [CVE-2026-108258](https://www.cve.org/CVERecord?id=CVE-2026-108258), CVE Terms of Use, modified 2026-10-13
- GitHub Advisory Database: [GHSA-47c3-hpmg-7j6p](https://github.com/advisories/GHSA-47c3-hpmg-7j6p), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-108258](https://nvd.nist.gov/vuln/detail/CVE-2026-108258), Public domain, modified 2026-10-16
- PyPA Advisory Database: [PYSEC-2026-4300](https://osv.dev/vulnerability/PYSEC-2026-4300), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-108258 · Whole record: https://cve.day/CVE-2026-108258.json · Rebuilt by cve.day 2026-11-25T22:59:43.358Z
