CVE-2021-3374 json
Directory traversal in RStudio Shiny Server before 1.5.16 allows attackers to read the application source code, involving an encoded slash.
published 2021-04-02 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-26705
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 14.8%
- EPSS 14.8% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
Directory traversal in RStudio Shiny Server before 1.5.16 allows attackers to read the application source code, involving an encoded slash.
Patch / fix
- rstudio shiny_server 1.5.16
Exploit prediction
14.81% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Rstudio Shiny Server <1.5.16 - Local File Inclusion nuclei detection template
- github.com https://github.com/colemanjp/shinyserver-directory-traversal-source-code-leak referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/colemanjp/shinyserver-directory-traversal-source-code-leak
exploit, third-party-advisory
-
blog.rstudio.com
/2021/01/13/shiny-server-1-5-16-update/
vendor-advisory
Sources
- CVE List CVE-2021-3374
- NVD CVE-2021-3374
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.