cve.bz

CVE-2026-108258 posit-dev py-shiny: Path traversal

6.9 mediumEPSS 0.4%Fix available

Medium (6.9) in posit-dev py-shiny. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in shiny 1.6.4.

On this page
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.

Severity

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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • shiny (PyPI): fixed in 1.6.4

Ask an AI about this CVE

Show the promptExplain CVE-2026-108258 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-108258?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-108258?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-108258 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
posit-dev py-shiny>= 1.4.0, < 1.6.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-47c3-hpmg-7j6pPyPIshiny>=1.4.0 <1.6.41.6.4
PYSEC-2026-4300PyPIshiny>=1.4.0 <1.6.41.6.4

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is evaluated as Moderate severity because standard deployments restrict path traversal behavior to checking the presence of specific predetermined file names, preventing arbitrary filesystem disclosure. Broader file exfiltration requires non-default application designs that concurrently utilize server-side bookmark storage and file upload controls. Additionally, Shiny for Python is not provided as an integrated service within Red Hat platforms, restricting potential impact to user-managed environments running custom applications.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-108258.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON