SecurityContext

CVE-2025-66302: Grav CMS - Path Traversal

  • Cve: CVE-2025-66302
  • Name: Grav CMS - Path Traversal
  • 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.
  • Impact: Authenticated administrators can read arbitrary files on the server, potentially exposing sensitive information.
  • Remediation: Update to version 1.8.0-beta.27 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: admin_privileges
  • Requirements: Attacker must be authenticated with administrative privileges
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
  • Epss score: 0.00519
  • Epss percentile: 0.44956
  • Assignee: [email protected]
  • Published at: 2025-12-01T22:15:49Z
  • Age in days: 358
  • Modified at: 2026-09-26T00:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-66302
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/getgrav/grav/security/advisories/GHSA-j422-qmxp-hv94nvd2025-12-01

References

UrlSourceTags
https://github.com/getgrav/grav/commit/ed640a13143c4177af013cf001969ed2c5e197eenvdPatch
https://github.com/getgrav/grav/security/advisories/GHSA-j422-qmxp-hv94nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
getgrav:grav= 1.8.0 beta26, = 1.8.0 beta25, = 1.8.0 beta24, = 1.8.0 beta23, = 1.8.0 beta22, = 1.8.0 beta21, = 1.8.0 beta20, = 1.8.0 beta19, = 1.8.0 beta18, = 1.8.0 beta17, = 1.8.0 beta16, = 1.8.0 beta15, = 1.8.0 beta14, = 1.8.0 beta13, = 1.8.0 beta12, = 1.8.0 beta11, = 1.8.0 beta10, = 1.8.0 beta9, = 1.8.0 beta8, = 1.8.0 beta7, = 1.8.0 beta6, = 1.8.0 beta5, = 1.8.0 beta4, = 1.8.0 beta3, = 1.8.0 beta2, < 1.8.0, = 1.8.0 beta1nonvd/v1/products/getgrav/grav

Projects

RepositoryLink kindsIndexedUrl
getgrav/gravcommit, package, security_advisoryyes/v1/repositories/getgrav/grav

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-12-01
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 1971
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports