p PatchFirst

CVE-2026-108258

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.9 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • py-shiny

    Versions
    • >= 1.4.0, < 1.6.4: Affected

    No fix published

  • shiny PyPI

    Versions
    • 1.4.0
    • 1.5.0
    • 1.5.1
    • 1.6.0
    • 1.6.1
    • 1.6.2
    • 1.6.3
    Affected ranges
    • ECOSYSTEM: ≥ 1.4.0, < 1.6.4

    Update to 1.6.4

Original sources

Check your server →