---
id: CVE-2025-66300
title: Grav is a file-based Web platform
summary: >-
  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), w…
severity: high
cvss: 8.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L'
cwe:
  - CWE-22
vendor: getgrav
product: grav
affected:
  - grav < 1.8.0
  - grav = 1.8.0
patched:
  - grav 1.8.0
published: '2025-12-01'
updated: '2026-09-26'
sourceUpdated: '2026-09-26T00:10:00.127'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-66300'
references:
  - url: >-
      https://github.com/getgrav/grav/commit/ed640a13143c4177af013cf001969ed2c5e197ee
    label: security-advisories@github.com
  - url: 'https://github.com/getgrav/grav/security/advisories/GHSA-p4ww-mcp9-j6f2'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00453
epssPercentile: 0.36857
ingestedAt: '2026-09-26T00:22:39.988Z'
---

## Overview

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.

## Affected

- `grav < 1.8.0`
- `grav = 1.8.0`

## Remediation

Upgrade past the affected range:

- `grav 1.8.0`
