# CVE-2024-34082: Grav Arbitrary File Read to Account Takeover

- Severity: High 8.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L`
- 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): 0.95%, higher than 60% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-15T16:42:19.075Z
- Modified: 2026-09-10T03:50:00.409Z
- Also known as: GHSA-f8v5-jmfh-pr69
- Weaknesses: CWE-22, CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Grav is a file-based Web platform. Prior to version 1.7.46, a low privilege user account with page edit privilege can read any server files using Twig Syntax. This includes Grav user account files - `/grav/user/accounts/*.yaml`. This file stores hashed user password, 2FA secret, and the password reset token. This can allow an adversary to compromise any registered account and read any file in the web server by resetting a password for a user to get access to the password reset token from the file or by cracking the hashed password. A low privileged user may also perform a full account takeover of other registered users including Administrators. Version 1.7.46 contains a patch.

(As written by CVE List.)

## Affected

- getgrav grav: < 1.7.46; *; before 1.7.46
- getgrav/grav (Packagist): before 1.7.46

## Every score

- GitHub_M: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L`
- GitHub: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-f8v5-jmfh-pr69> (exploit, vendor-advisory, web)
- <https://github.com/getgrav/grav/commit/b6bba9eb99bf8cb55b8fa8d23f18873ca594e348> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34082> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2024-34082](https://www.cve.org/CVERecord?id=CVE-2024-34082), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-f8v5-jmfh-pr69](https://github.com/advisories/GHSA-f8v5-jmfh-pr69), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-34082](https://nvd.nist.gov/vuln/detail/CVE-2024-34082), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-34082 · Whole record: https://cve.day/CVE-2024-34082.json · Rebuilt by cve.day 2026-11-25T22:58:40.389Z
