Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
posit-dev py-shiny
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Python 版 Shiny 是一个用于构建交互式 Web 应用的 Python 框架。在版本 1.4.0 至 1.6.4 中,书签恢复功能接受客户端提供的 state_id,并将其直接拼接到服务端 shiny_bookmarks 目录中,而未验证该 state_id 是否仅为单个安全的目录段。攻击者无需认证即可通过父目录引用(如“..”)或绝对路径,使服务器在书签存储已设置为禁用(disable)的情况下,仍读取书签存储目录外的 input.json 和 values.json 文件。此外,在配置了 bookma

CVSS 6.9 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-108258

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Shiny for Python - Path traversal in bookmark restore
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
posit-dev py-shiny >= 1.4.0, < 1.6.4 -

II. Public POCs for CVE-2026-108258

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-108258

请登录查看更多情报信息。

Other References for CVE-2026-108258 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2026-108258

No comments yet


Leave a comment