CVE-2025-66295

Dec. 4, 2025, 6:34 p.m.

8.8
High

Description

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, when a user with privilege of user creation creates a new user through the Admin UI and supplies a username containing path traversal sequences (for example ..\Nijat or ../Nijat), Grav writes the account YAML file to an unintended path outside user/accounts/. The written YAML can contain account fields such as email, fullname, twofa_secret, and hashed_password. This vulnerability is fixed in 1.8.0-beta.27.

Product(s) Impacted

Vendor Product Versions
Getgrav
  • Grav
  • *, 1.8.0

Weaknesses

Common security weaknesses mapped to this vulnerability.

CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

*CPE(s)

Affected systems and software identified for this CVE.

Type Vendor Product Version Update Edition Language Software Edition Target Software Target Hardware Other Information
a getgrav grav / / / / / / / /
a getgrav grav 1.8.0 beta1 / / / / / /
a getgrav grav 1.8.0 beta10 / / / / / /
a getgrav grav 1.8.0 beta11 / / / / / /
a getgrav grav 1.8.0 beta12 / / / / / /
a getgrav grav 1.8.0 beta13 / / / / / /
a getgrav grav 1.8.0 beta14 / / / / / /
a getgrav grav 1.8.0 beta15 / / / / / /
a getgrav grav 1.8.0 beta16 / / / / / /
a getgrav grav 1.8.0 beta17 / / / / / /
a getgrav grav 1.8.0 beta18 / / / / / /
a getgrav grav 1.8.0 beta19 / / / / / /
a getgrav grav 1.8.0 beta2 / / / / / /
a getgrav grav 1.8.0 beta20 / / / / / /
a getgrav grav 1.8.0 beta21 / / / / / /
a getgrav grav 1.8.0 beta22 / / / / / /
a getgrav grav 1.8.0 beta23 / / / / / /
a getgrav grav 1.8.0 beta24 / / / / / /
a getgrav grav 1.8.0 beta25 / / / / / /
a getgrav grav 1.8.0 beta26 / / / / / /
a getgrav grav 1.8.0 beta3 / / / / / /
a getgrav grav 1.8.0 beta4 / / / / / /
a getgrav grav 1.8.0 beta5 / / / / / /
a getgrav grav 1.8.0 beta6 / / / / / /
a getgrav grav 1.8.0 beta7 / / / / / /
a getgrav grav 1.8.0 beta8 / / / / / /
a getgrav grav 1.8.0 beta9 / / / / / /

CVSS Score

8.8 / 10

CVSS Data - 3.1

  • Attack Vector: NETWORK
  • Attack Complexity: LOW
  • Privileges Required: LOW
  • Scope: UNCHANGED
  • Confidentiality Impact: HIGH
  • Integrity Impact: HIGH
  • Availability Impact: HIGH
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

    View Vector String

Timeline

Published: Dec. 1, 2025, 9:15 p.m.
Last Modified: Dec. 4, 2025, 6:34 p.m.

Status : Analyzed

CVE has had analysis completed and all data associations made.

More info

Source

security-advisories@github.com

*Disclaimer: Some vulnerabilities do not have an associated CPE. To enhance the data, we use AI to infer CPEs based on CVE details. This is an automated process and might not always be accurate.