The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-66302

CVE-2025-66302: Getgrav Grav Path Traversal Vulnerability

CVE-2025-66302 is a path traversal vulnerability in Getgrav Grav CMS that allows authenticated admins to read arbitrary server files. This post covers the technical details, affected versions, impact, and mitigation steps.

Updated: January 22, 2026

CVE-2025-66302 Overview

A path traversal vulnerability (CWE-22) has been identified in Grav CMS, a popular file-based Web platform. This vulnerability allows authenticated attackers with administrative privileges to read arbitrary files on the underlying server filesystem. The flaw 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.

With a CVSS score of 6.8 (Medium severity), this vulnerability poses a significant risk to organizations running vulnerable versions of Grav CMS. The impact depends on the privileges of the user account running the application, potentially exposing sensitive configuration files, credentials, and other critical system data.

Critical Impact

Authenticated administrators can exploit insufficient path validation in the backup tool to read sensitive files such as /etc/passwd, configuration files, and application secrets from the server filesystem.

Affected Products

  • Grav CMS versions prior to 1.8.0-beta.27
  • Grav CMS 1.8.0-beta1 through 1.8.0-beta26
  • All stable releases prior to the security patch

Discovery Timeline

  • 2025-12-01 - CVE-2025-66302 published to NVD
  • 2025-12-03 - Last updated in NVD database

Technical Details for CVE-2025-66302

Vulnerability Analysis

This path traversal vulnerability exists in Grav CMS's backup functionality. The backup tool fails to properly sanitize user-supplied file paths, allowing attackers to use directory traversal sequences (such as ../) to escape the intended webroot directory and access arbitrary files on the server filesystem.

The CVSS vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N indicates:

  • Attack Vector (AV:N): Network-accessible, exploitable remotely
  • Attack Complexity (AC:L): Low complexity, easily reproducible
  • Privileges Required (PR:H): High privileges (administrative access) required
  • User Interaction (UI:N): No user interaction needed
  • Scope (S:C): Changed scope - can affect resources beyond the vulnerable component
  • Confidentiality Impact (C:H): High confidentiality impact
  • Integrity Impact (I:N): No integrity impact
  • Availability Impact (A:N): No availability impact

The EPSS score of 0.046% places this vulnerability at the 14.24th percentile, indicating a relatively low probability of exploitation in the wild, likely due to the requirement for authenticated administrative access.

Root Cause

The root cause of CVE-2025-66302 is inadequate input validation in the backup tool's file path handling logic. When processing backup requests, the application fails to:

  1. Properly canonicalize file paths before processing
  2. Validate that resolved paths remain within the allowed webroot directory
  3. Strip or reject directory traversal sequences from user input

This allows crafted path inputs containing sequences like ../ to traverse outside the intended directory structure, bypassing the application's file access restrictions.

Attack Vector

The attack requires the attacker to have authenticated administrative access to the Grav CMS instance. Once authenticated, the attacker can manipulate file path parameters in the backup tool functionality to include directory traversal sequences. The server then processes these malicious paths, reading files from locations outside the webroot.

The vulnerability is exploitable over the network without user interaction, making it particularly dangerous in environments where administrative credentials may have been compromised or where insider threats exist. Due to the Changed Scope (S:C), successful exploitation can impact resources beyond the Grav CMS application itself, potentially exposing system-level files and configurations.

For technical details and proof-of-concept information, see the security advisory at: https://github.com/getgrav/grav/security/advisories/GHSA-j422-qmxp-hv94

Detection Methods for CVE-2025-66302

Indicators of Compromise

  • Unusual file access patterns in web server logs targeting backup functionality
  • Requests containing path traversal sequences (../, ..%2f, %2e%2e/) in backup-related endpoints
  • Access attempts to sensitive system files such as /etc/passwd, /etc/shadow, or application configuration files
  • Administrative session activity followed by anomalous file read operations

Detection Strategies

Organizations should implement multiple layers of detection to identify exploitation attempts:

  1. Web Application Firewall (WAF) Rules: Configure WAF rules to detect and block requests containing directory traversal patterns in backup-related URL parameters and request bodies.

  2. Log Analysis: Monitor web server and application logs for requests to backup endpoints containing suspicious path patterns. Look for encoded traversal sequences that may bypass basic filtering.

  3. File Integrity Monitoring: While this vulnerability doesn't modify files, monitoring access patterns to sensitive system files can indicate exploitation attempts.

  4. SentinelOne Singularity Platform: Leverage behavioral AI to detect anomalous file access patterns originating from web application processes, particularly reads of sensitive system configuration files.

Monitoring Recommendations

  • Enable detailed access logging for the Grav CMS admin panel
  • Implement alerting for backup operations that reference paths outside the webroot
  • Monitor for unusual administrative session activity, especially from unfamiliar IP addresses
  • Configure SIEM rules to correlate admin login events with sensitive file access attempts
  • Deploy endpoint detection to identify web server processes accessing files they shouldn't normally access

How to Mitigate CVE-2025-66302

Immediate Actions Required

  • Upgrade Grav CMS to version 1.8.0-beta.27 or later immediately
  • Audit administrative user accounts and remove unnecessary privileges
  • Review server logs for evidence of prior exploitation attempts
  • Implement Web Application Firewall rules to block path traversal attempts
  • Restrict network access to the Grav CMS admin panel to trusted IP ranges

Patch Information

The vulnerability has been fixed in Grav CMS version 1.8.0-beta.27. The security patch is available through the official GitHub repository:

  • Patch Commit: ed640a13143c4177af013cf001969ed2c5e197ee
  • Repository: https://github.com/getgrav/grav/commit/ed640a13143c4177af013cf001969ed2c5e197ee

Organizations should prioritize upgrading to the patched version. For production environments, consider testing the update in a staging environment before deployment to ensure compatibility.

Workarounds

If immediate patching is not possible, implement the following temporary mitigations:

  1. Restrict Admin Access: Limit administrative access to the Grav CMS instance to only essential personnel and trusted networks.

  2. Web Server Configuration: Configure your web server to reject requests containing path traversal sequences at the server level before they reach the application.

  3. Network Segmentation: Isolate the Grav CMS server to minimize the impact of potential file disclosure.

  4. Principle of Least Privilege: Ensure the web server process runs with minimal filesystem permissions, limiting which files can be read even if the vulnerability is exploited.

bash
# Example: Restrict admin panel access by IP in Apache
<Directory "/path/to/grav/admin">
    Require ip 192.168.1.0/24
    Require ip 10.0.0.0/8
</Directory>

# Example: Block path traversal in nginx
location /admin {
    if ($request_uri ~* "\.\.") {
        return 403;
    }
    # Additional configuration...
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechGetgrav Grav

  • SeverityMEDIUM

  • CVSS Score6.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • Exploit, Third Party Advisory

  • Exploit, Third Party Advisory
  • Vendor Resources
  • Patch
  • Related CVEs
  • CVE-2025-66304: Getgrav Grav Information Disclosure Flaw

  • CVE-2025-66306: Getgrav Grav Information Disclosure Flaw

  • CVE-2025-66303: Getgrav Grav DoS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English