# CVE-2025-66300: Grav is vulnerable to Arbitrary File Read

- 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.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-01T21:19:00.744Z
- Modified: 2026-09-26T00:10:00.127Z
- Also known as: GHSA-p4ww-mcp9-j6f2
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, A low privilege user account with page editing privilege can read any server files using "Frontmatter" form. This includes Grav user account files (/grav/user/accounts/*.yaml), which store hashed user password, 2FA secret, and the password reset token. This can allow an adversary to compromise any registered account by resetting a password for a user to get access to the password reset token from the file or by cracking the hashed password. This vulnerability is fixed in 1.8.0-beta.27.

(As written by CVE List.)

## Affected

- getgrav grav: < 1.8.0-beta.27; before 1.8.0; 1.8.0
- getgrav/grav (Packagist): before 1.8.0-beta.27

## 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`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-p4ww-mcp9-j6f2> (exploit, third-party-advisory, web)
- <https://github.com/getgrav/grav/commit/ed640a13143c4177af013cf001969ed2c5e197ee> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66300> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2025-66300](https://www.cve.org/CVERecord?id=CVE-2025-66300), CVE Terms of Use, modified 2025-12-02
- GitHub Advisory Database: [GHSA-p4ww-mcp9-j6f2](https://github.com/advisories/GHSA-p4ww-mcp9-j6f2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-66300](https://nvd.nist.gov/vuln/detail/CVE-2025-66300), Public domain, modified 2026-09-26

---

Page: https://cve.day/CVE-2025-66300 · Whole record: https://cve.day/CVE-2025-66300.json · Rebuilt by cve.day 2026-11-25T22:59:08.143Z
