# CVE-2021-3374: Directory traversal in RStudio Shiny Server before 1.5.16 allows attackers to read the application source code, involving an encoded slash.

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 12.4%, higher than 96% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-02T18:13:44.000Z
- Modified: 2026-06-17T04:04:59.843Z
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

Directory traversal in RStudio Shiny Server before 1.5.16 allows attackers to read the application source code, involving an encoded slash.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- rstudio shiny_server: before 1.5.16

## Every score

- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/colemanjp/shinyserver-directory-traversal-source-code-leak> (exploit, third-party-advisory)
- <https://blog.rstudio.com/2021/01/13/shiny-server-1-5-16-update/> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-3374](https://www.cve.org/CVERecord?id=CVE-2021-3374), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3374](https://nvd.nist.gov/vuln/detail/CVE-2021-3374), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3374 · Whole record: https://cve.day/CVE-2021-3374.json · Rebuilt by cve.day 2026-11-25T22:58:00.595Z
