CVE-2025-66302 | Grav vulnerable to Path Traversal allowing server files backup

Exp

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.

Published: 2025-12-01 Last update: 2025-12-03 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-66302 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.05%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-66302

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-66302

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-01-02 0.04% 0.05% +0.01%
2 2025-12-02 0.04%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-66302

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.8 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.3 4.0 [email protected]
6.8 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.3 4.0 [email protected]

Weakness enumeration for CVE-2025-66302

GitHub Security Advisory for CVE-2025-66302

GHSA-j422-qmxp-hv94 · Severity: medium · Ecosystem: composer — Grav vulnerable to Path Traversal allowing server files backup

Affected software / configurations for CVE-2025-66302

Vendor Product Version Raw CPE
getgrav grav < 1.8.0 cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta1:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta10:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta11:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta12:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta13:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta14:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta15:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta16:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta17:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta18:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta19:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta2:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta20:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta21:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta22:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta23:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta24:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta25:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta26:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta3:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta4:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta5:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta6:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta7:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta8:*:*:*:*:*:*
getgrav grav 1.8.0 cpe:2.3:a:getgrav:grav:1.8.0:beta9:*:*:*:*:*:*

References for CVE-2025-66302

cvelogic Threat Intelligence