Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. getgrav/grav
  4. ›
  5. CVE-2025-66300

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

December 2, 2025

  • 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. This file stores 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.

References

  • github.com/advisories/GHSA-p4ww-mcp9-j6f2
  • github.com/getgrav/grav
  • github.com/getgrav/grav/commit/ed640a13143c4177af013cf001969ed2c5e197ee
  • github.com/getgrav/grav/security/advisories/GHSA-p4ww-mcp9-j6f2
  • nvd.nist.gov/vuln/detail/CVE-2025-66300

Code Behaviors & Features

Detect and mitigate CVE-2025-66300 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.0-beta.27

Fixed versions

  • 1.8.0-beta.27

Solution

Upgrade to version 1.8.0-beta.27 or above.

Impact 8.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

packagist/getgrav/grav/CVE-2025-66300.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Dec 2025 00:20:13 +0000.