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-68953

CVE-2025-68953: Frappe Path Traversal Vulnerability

CVE-2025-68953 is a path traversal vulnerability in Frappe Framework that allows attackers to retrieve arbitrary files from the server. This article covers the technical details, affected versions, security impact, and mitigation.

Updated: January 22, 2026

CVE-2025-68953 Overview

CVE-2025-68953 is a path traversal vulnerability affecting the Frappe full-stack web application framework. The vulnerability exists in versions 14.99.5 and below, as well as versions 15.0.0 through 15.80.1, where certain requests lack proper path sanitization. This flaw allows unauthenticated remote attackers to retrieve arbitrary files from the server by crafting malicious requests that traverse directory boundaries.

Critical Impact

Unauthenticated attackers can exploit this path traversal vulnerability to read sensitive files from the server, potentially exposing configuration files, credentials, database connection strings, and other confidential information.

Affected Products

  • Frappe Framework versions 14.99.5 and below
  • Frappe Framework versions 15.0.0 through 15.80.1

Discovery Timeline

  • 2026-01-05 - CVE-2025-68953 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-68953

Vulnerability Analysis

This path traversal vulnerability (CWE-22) stems from inadequate input validation in the Frappe framework's middleware component responsible for serving static files. When processing file requests, the application fails to properly sanitize user-supplied path components, allowing attackers to include directory traversal sequences such as ../ in their requests. This enables navigation outside the intended web root directory to access arbitrary files on the underlying server filesystem.

The vulnerability is particularly concerning because it requires no authentication and can be exploited remotely over the network. Successful exploitation grants attackers read access to any file readable by the web application process, including sensitive configuration files, environment variables, application source code, and potentially database credentials.

Root Cause

The root cause lies in the middleware's file path handling logic, which used the standard os module for path operations without adequate validation. The original implementation did not properly resolve and verify that requested file paths remained within the expected static file directory boundaries. The fix transitions to using Python's pathlib.Path module, which provides safer path manipulation methods and enables proper path canonicalization to prevent traversal attacks.

Attack Vector

An attacker can exploit this vulnerability by sending specially crafted HTTP requests to the Frappe application server. By including path traversal sequences in the request URL, the attacker can escape the intended file serving directory and access files from arbitrary locations on the filesystem. For example, requests containing sequences like ../../etc/passwd or similar patterns could be used to read system files or application configuration data.

The attack requires network access to the vulnerable Frappe instance and does not require any authentication or user interaction, making it trivially exploitable.

python
# Security patch in frappe/middlewares.py - fix(middleware): check path before returning file
# Source: https://github.com/frappe/frappe/commit/3867fb112c3f7be1a863e40f19e9235719f784fb

 # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
 # License: MIT. See LICENSE
 
-import os
+from pathlib import Path
 
 from werkzeug.exceptions import NotFound
 from werkzeug.middleware.shared_data import SharedDataMiddleware

The patch replaces the os module import with pathlib.Path, enabling proper path resolution and boundary checking before serving files.

Detection Methods for CVE-2025-68953

Indicators of Compromise

  • HTTP access logs containing path traversal sequences such as ../, ..%2f, %2e%2e/, or similar encoded variants in request URIs
  • Requests attempting to access files outside normal web application paths (e.g., /etc/passwd, /proc/self/environ, application configuration files)
  • Unusual file access patterns in web server logs indicating directory traversal attempts
  • Error logs showing attempts to access restricted filesystem locations

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing path traversal patterns
  • Configure intrusion detection systems (IDS) to alert on requests with directory traversal sequences in URL paths
  • Monitor HTTP access logs for suspicious patterns including encoded traversal attempts (%2e%2e%2f, ..%252f)
  • Deploy file integrity monitoring on sensitive configuration files to detect unauthorized access

Monitoring Recommendations

  • Enable detailed access logging on the Frappe application and any reverse proxy in front of it
  • Set up alerts for high volumes of 404 errors or file access denials that may indicate traversal attempts
  • Monitor for anomalous read operations on sensitive system or application files
  • Review web server logs regularly for requests targeting files outside the expected static content directories

How to Mitigate CVE-2025-68953

Immediate Actions Required

  • Upgrade Frappe Framework to version 14.99.6 (for 14.x users) or version 15.88.1 (for 15.x users) immediately
  • If immediate patching is not possible, deploy a reverse proxy in front of the Frappe application to filter malicious requests
  • Review access logs for evidence of prior exploitation attempts
  • Audit sensitive files and credentials that may have been exposed prior to patching

Patch Information

Frappe has released security patches addressing this vulnerability. Users should upgrade to the following fixed versions:

  • Version 14.x: Upgrade to 14.99.6 or later
  • Version 15.x: Upgrade to 15.88.1 or later

The security fixes are available in the following commits:

  • GitHub Commit 3867fb1
  • GitHub Commit 959efd6

For additional details, refer to the GitHub Security Advisory GHSA-xj39-3g4p-f46v.

Workarounds

  • Deploy a reverse proxy (such as Nginx or Apache) in front of the Frappe application with rules to block path traversal patterns
  • Configure the reverse proxy to normalize and validate all incoming request paths before forwarding to Frappe
  • Implement strict URL filtering to reject requests containing .. sequences or their encoded equivalents
  • Restrict file system permissions for the web application user to minimize the impact of potential exploitation
bash
# Example Nginx configuration to block path traversal attempts
location / {
    # Block requests containing path traversal sequences
    if ($request_uri ~* "\.\.") {
        return 403;
    }
    
    # Proxy to Frappe application
    proxy_pass http://127.0.0.1:8000;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechFrappe

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Refactor

  • GitHub Security Advisory GHSA-xj39-3g4p-f46v
  • Related CVEs
  • CVE-2025-66206: Frappe Framework Path Traversal Flaw

  • CVE-2026-32954: Frappe ERPNext SQL Injection Vulnerability

  • CVE-2026-31877: Frappe Framework SQL Injection Vulnerability

  • CVE-2026-31878: Frappe Framework SSRF 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