{"answers":{"affected":"3 open source packages ship an affected version, including shiny.","exploited":"There is no known exploitation of CVE-2026-108258 in the wild and no public exploit code.","fix":"Upgrade shiny to 1.6.4 or later.","what":"CVE-2026-108258 is a medium-severity path traversal vulnerability in posit-dev py-shiny, published on 9 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-108258 and fix it if it is affected.\n\nWhat it is: CVE-2026-108258 is a medium-severity path traversal vulnerability in posit-dev py-shiny, published on 9 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-108258 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- shiny (PyPI): affected from 1.4.0; fixed in 1.6.4\n- shiny (PyPI): affected from 1.4.0; fixed in 1.6.4\n- shiny (PyPI): affected from 1.4.0; fixed in 1.6.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-108258/ (Markdown: https://insights.sbomify.com/CVE-2026-108258/index.md)","id":"CVE-2026-108258","markdown":"https://insights.sbomify.com/CVE-2026-108258/index.md","name":"CVE-2026-108258","record":{"aliases":["GHSA-47c3-hpmg-7j6p","PYSEC-2026-4300"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Python web framework","requires_auth":"none","summary":"An unauthenticated attacker can exploit path traversal in Shiny for Python to read or expose arbitrary server files via bookmark restore.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Shiny for Python - Path traversal in bookmark restore","id":"CVE-2026-108258","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Tina: Code injection via unescaped Git branch name in generated client source","id":"CVE-2026-108259"},"packages":[{"ecosystem":"PyPI","fixed":["1.6.4"],"introduced":["1.4.0"],"last_affected":[],"package":"shiny","purl":null,"source":"GHSA-47c3-hpmg-7j6p"},{"ecosystem":"PyPI","fixed":["1.6.4"],"introduced":["1.4.0"],"last_affected":[],"package":"shiny","purl":"pkg:pypi/shiny","source":"GHSA-47c3-hpmg-7j6p"},{"ecosystem":"PyPI","fixed":["1.6.4"],"introduced":["1.4.0"],"last_affected":[],"package":"shiny","purl":"pkg:pypi/shiny","source":"PYSEC-2026-4300"}],"prev":{"headline":"Security feature bypass in Zoom Clients","id":"CVE-2026-108185"},"products":["py-shiny"],"published":"2026-10-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-13","vendors":["posit-dev"]},"summary":"An unauthenticated attacker can exploit path traversal in Shiny for Python to read or expose arbitrary server files via bookmark restore.","url":"https://insights.sbomify.com/CVE-2026-108258/"}