CVE-2025-66302

MEDIUM
Published Dec 1, 2025 Modified Dec 3, 2025 CWE-22

Description

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, A path traversal vulnerability has been identified in Grav CMS, allowing authenticated attackers with administrative privileges to read arbitrary files on the underlying server filesystem. This vulnerability arises due to insufficient input sanitization in the backup tool, where user-supplied paths are not properly restricted, enabling access to files outside the intended webroot directory. The impact of this vulnerability depends on the privileges of the user account running the application. This vulnerability is fixed in 1.8.0-beta.27.

CVSS v3.1 Score

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

Weakness Type (CWE)

CWE-22 Path Traversal

Affected Products

Vendor Product
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav
getgrav grav

References

Frequently Asked Questions

What is CVE-2025-66302? +
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, A path traversal vulnerability has been identified in Grav CMS, allowing authenticated attackers with administrative privileges to read arbitrary files on the underlying server filesystem. This vulnerability arises due to insufficient input sanitization in the backup tool, where user-supplied paths are not properly restricted, enabling access to files outside the intended webroot directory. The impact of this vulnerability depends on the privileges of the user account running the application. This vulnerability is fixed in 1.8.0-beta.27. It has a CVSS v3.1 base score of 6.8 (MEDIUM).
How severe is CVE-2025-66302? +
CVE-2025-66302 has a CVSS v3.1 score of 6.8 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2025-66302? +
CVE-2025-66302 affects products from getgrav, specifically: grav. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-66302? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-66302 — free, no signup required.

Start Free Scan