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

CVE-2025-66206: Frappe Framework Path Traversal Flaw

CVE-2025-66206 is a path traversal vulnerability in Frappe Framework that allows attackers to retrieve server files if the full path is known. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-66206 Overview

CVE-2025-66206 is a high-severity path traversal vulnerability affecting the Frappe full-stack web application framework. Prior to versions 15.86.0 and 14.99.2, certain requests were vulnerable to path traversal attacks, allowing attackers to retrieve files from the server if the full path was known. This vulnerability specifically impacts deployments that directly use werkzeug/gunicorn without a reverse proxy, while sites hosted on Frappe Cloud or behind reverse proxies like NGINX remain unaffected.

Critical Impact

Network-accessible path traversal vulnerability with CVSS score of 8.6 enables unauthorized access to sensitive server files without authentication requirements, potentially exposing configuration files, credentials, and other sensitive data.

Affected Products

  • Frappe Framework versions prior to 15.86.0
  • Frappe Framework versions prior to 14.99.2
  • Deployments using werkzeug/gunicorn directly without reverse proxy

Discovery Timeline

  • 2025-12-01 - CVE-2025-66206 published to NVD
  • 2025-12-04 - Last updated in NVD database

Technical Details for CVE-2025-66206

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), commonly known as path traversal or directory traversal. The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N indicates a network-exploitable vulnerability with low attack complexity, requiring no privileges or user interaction, with a changed scope and high confidentiality impact.

The vulnerability exists in the request handling mechanism of the Frappe framework. When the framework processes certain HTTP requests, it fails to properly sanitize or validate file path parameters, allowing attackers to construct requests that traverse outside the intended directory structure using path manipulation sequences.

Root Cause

The root cause of this vulnerability lies in insufficient input validation of file path parameters within the Frappe framework's request handling logic. The application does not adequately filter or normalize path components, allowing sequences such as ../ to be interpreted literally, enabling directory traversal beyond the web root.

The vulnerability specifically manifests when Frappe is deployed directly with werkzeug or gunicorn without an intermediary reverse proxy. Reverse proxies like NGINX typically normalize URLs and reject path traversal attempts before they reach the application layer, which is why deployments behind such proxies are not affected.

Attack Vector

The attack vector is network-based, allowing remote attackers to exploit this vulnerability without authentication. An attacker can craft malicious HTTP requests containing path traversal sequences to access arbitrary files on the server filesystem. The attack requires knowledge of the target file's full path on the server.

The exploitation flow involves sending specially crafted requests to the Frappe application that include directory traversal patterns. If the full path to a sensitive file is known, the attacker can potentially retrieve configuration files, database credentials, application secrets, or other sensitive data stored on the server.

For technical details on the specific request patterns that trigger this vulnerability, refer to the vendor security advisory.

Detection Methods for CVE-2025-66206

Indicators of Compromise

  • HTTP requests containing path traversal sequences such as ../, ..%2f, or ..%5c in URL parameters
  • Unusual access patterns to sensitive file paths through the web application
  • Server logs showing requests attempting to access files outside the web root directory
  • Unexpected file access events in system audit logs correlating with web requests

Detection Strategies

Organizations can implement detection for CVE-2025-66206 through multiple approaches:

Web Application Firewall (WAF) Rules: Configure WAF rules to detect and block requests containing common path traversal patterns including URL-encoded variants. Monitor for patterns like ../, ..\\, %2e%2e%2f, and %2e%2e/ in request URLs and parameters.

Log Analysis: Review web server access logs for requests containing path traversal indicators. Correlate with application logs to identify successful file access attempts outside normal application directories.

Endpoint Detection: Deploy endpoint detection solutions that monitor for unusual file access patterns, particularly when web application processes attempt to read files outside their expected working directories.

Monitoring Recommendations

Implement continuous monitoring of HTTP request logs for path traversal patterns. Configure alerting for requests containing directory traversal sequences, especially those targeting sensitive file paths such as /etc/passwd, configuration files, or application secrets. Enable detailed logging for the Frappe application to capture full request details for forensic analysis. Monitor the EPSS score, currently at 0.06% (18.875 percentile), for changes that may indicate increased exploitation activity.

How to Mitigate CVE-2025-66206

Immediate Actions Required

  • Upgrade Frappe Framework to version 15.86.0 or later for the 15.x branch
  • Upgrade Frappe Framework to version 14.99.2 or later for the 14.x branch
  • Deploy a reverse proxy such as NGINX in front of werkzeug/gunicorn if immediate patching is not possible
  • Review server logs for any evidence of exploitation attempts

Patch Information

The vulnerability has been addressed in Frappe Framework versions 15.86.0 and 14.99.2. Organizations should upgrade to these versions or later to remediate the vulnerability. The security advisory is available at the Frappe GitHub Security Advisory (GHSA-v4wg-gqfr-rpjm).

For organizations using Frappe Cloud, no action is required as these deployments are already protected. Self-hosted deployments behind properly configured reverse proxies like NGINX are also unaffected, but upgrading is still recommended as a defense-in-depth measure.

Workarounds

If immediate patching is not feasible, deploying a reverse proxy in front of the Frappe application provides effective mitigation. NGINX, when properly configured, normalizes request URLs and rejects path traversal attempts before they reach the application layer.

nginx
# NGINX reverse proxy configuration for Frappe
# This configuration helps mitigate path traversal by normalizing URLs

server {
    listen 80;
    server_name your-frappe-domain.com;

    # Normalize and sanitize request URIs
    merge_slashes on;

    location / {
        # Block requests with path traversal patterns
        if ($request_uri ~* "\.\.") {
            return 403;
        }

        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;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

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 Score8.6

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Vendor Resources
  • Vendor Advisory
  • Related CVEs
  • CVE-2025-68953: Frappe Path Traversal Vulnerability

  • 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