Skip to main content
VulnerabilityPublished

CVE-2025-66302: getgrav/grav · Grav vulnerable to Path Traversal allowing server files backup

Affects getgrav/gravSource GCVE Database

0
Compare
Authoritative record:CVE-2025-66302· Medium 6.8

Not known to be exploited · CVSS 6.8 Medium : upgrade to 1.8.0-beta.27 when convenient.

Data as of 21 Nov 2026, 03:46 UTC

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.8.0-beta.27
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.

What to do

Upgrade getgrav/grav to 1.8.0-beta.27.

Affected software

ProductAffectedFixed in
Packagistgetgrav/gravAffected
  • <1.8.0-beta.27
Fixed in
  • 1.8.0-beta.27

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in Grav CMS version 1.8.0-beta.27 that fixes this path traversal vulnerability. Users should upgrade to this version or later to remediate the issue. Until patched, restrict administrative access to trusted users and avoid running the application with elevated system privileges such as root to minimize risk.

Description

A path traversal vulnerability in Grav CMS versions prior to 1.8.0-beta.27 allows authenticated administrators to read arbitrary files on the server filesystem via the backup tool. This occurs due to insufficient input sanitization of user-supplied paths, enabling access outside the webroot. The impact depends on the privileges of the application user. Under worst-case conditions, such as running the application as root, an attacker can exfiltrate sensitive files like SSH private keys, leading to full host compromise. A fix is available in version 1.8.0-beta.27.

References

Community reviews

Loading reviews…