Intel

AIKIDO-2026-343005

shiny is vulnerable to Path Traversal

Path TraversalGHSA-47c3-hpmg-7j6p Published Yesterday

69

Medium Risk

This Affects:

PYTHONshiny
1.4.0 - 1.6.3
Fixed in 1.6.4
Are you affected? Scan for Free

TL;DR

Shiny for Python's bookmark restore joins a client supplied _state_id_ query parameter into the server-side bookmark directory without validating it, so a value with .. segments or an absolute path escapes the intended directory. The restore logic runs whenever a URL query string is present, even with bookmarking disabled, letting anyone probe for the existence and JSON validity of input.json and values.json at arbitrary paths, and apps combining bookmark_store="server" with ui.input_file() can have arbitrary file contents copied out through the same restore path. The fix validates _state_id_ against a [A-Za-z0-9_-]+ allowlist and only reads from disk when bookmark_store="server".

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

shiny is vulnerable to Path Traversal in versions 1.4.0 - 1.6.3.

How to fix this

Upgrade the shiny library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform