# CVE-2021-3924: Path Traversal in getgrav/grav

- Severity: High 8.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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): 4.36%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-05T14:50:20.000Z
- Modified: 2026-06-17T04:06:00.033Z
- Also known as: GHSA-8c5p-4362-9333
- Weaknesses: CWE-22
- Assigned by: @huntrdev

## Description

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

(As written by CVE List.)

## Affected

- getgrav getgrav/grav: from unspecified up to 1.7.24
- getgrav/grav (Packagist): up to 1.7.24
- getgrav grav: up to 1.7.24

## Every score

- @huntrdev: CVSS:3.0 8.8 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 8.8 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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://huntr.dev/bounties/7ca13522-d0c9-4eff-a7dd-6fd1a7f205a2> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/getgrav/grav/commit/8f9c417c04b89dc8d2de60b95e7696821b2826ce> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3924> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2021-3924](https://www.cve.org/CVERecord?id=CVE-2021-3924), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-8c5p-4362-9333](https://github.com/advisories/GHSA-8c5p-4362-9333), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-3924](https://nvd.nist.gov/vuln/detail/CVE-2021-3924), Public domain, modified 2026-06-17

---

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