# CVE-2021-3916: Path Traversal in bookstackapp/bookstack

- Severity: Medium 6.5 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/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): 1.24%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-05T14:50:19.000Z
- Modified: 2026-06-17T04:05:59.057Z
- Weaknesses: CWE-22
- Assigned by: @huntrdev

## Description

bookstack is vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

(As written by CVE List.)

## Affected

- bookstackapp bookstackapp/bookstack: from unspecified before 21.10.3
- bookstackapp bookstack: before 21.10.3

## Every score

- @huntrdev: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://huntr.dev/bounties/0be32e6b-7c48-43f0-9cec-433000ad8f64> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/bookstackapp/bookstack/commit/43830a372fc51a8793199d04a34c3f4ebdfccc7b> (patch, third-party-advisory)

## Sources

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

---

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