A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2026-39405

CVE-2026-39405: Frappe LMS Path Traversal Vulnerability

CVE-2026-39405 is a path traversal vulnerability in Frappe Learning Management System allowing users with course editing roles to write files outside intended directories via SCORM ZIP uploads. This article covers affected versions, impact, and mitigation.

Published: May 21, 2026

CVE-2026-39405 Overview

CVE-2026-39405 is a path traversal vulnerability in Frappe Learning Management System (LMS), affecting versions 2.50.0 and below. The flaw allows an authenticated user holding the course editing role to upload a malicious Sharable Content Object Reference Model (SCORM) ZIP package. During extraction, the application writes files outside the intended SCORM content directory, enabling arbitrary file write on the host. Frappe resolved the issue in version 2.50.1. The vulnerability is tracked under [CWE-22] (Improper Limitation of a Pathname to a Restricted Directory).

Critical Impact

Authenticated course editors can write arbitrary files outside the SCORM upload directory, leading to potential remote code execution and full compromise of the Frappe LMS host.

Affected Products

  • Frappe Learning Management System (LMS) versions 2.50.0 and below
  • Fixed in Frappe LMS version 2.50.1
  • Any deployment exposing course editor functionality to untrusted users

Discovery Timeline

  • 2026-05-20 - CVE-2026-39405 published to the National Vulnerability Database (NVD)
  • 2026-05-20 - Last updated in NVD database
  • 2026-05-20 - Frappe published GitHub Security Advisory GHSA-mxh7-g3r7-g96h and released Frappe LMS v2.50.1

Technical Details for CVE-2026-39405

Vulnerability Analysis

The vulnerability resides in the SCORM package import handler of Frappe LMS. SCORM content is distributed as ZIP archives containing HTML, JavaScript, and metadata. The LMS extracts these archives to a server-side directory to make the course content accessible to learners. The handler in versions 2.50.0 and below fails to validate or sanitize file paths inside the archive before extraction. An attacker crafting a ZIP entry with traversal sequences such as ../../ can direct the extractor to write outside the intended SCORM directory. This is a classic Zip Slip pattern, classified as [CWE-22].

Root Cause

The extraction routine concatenates archive entry names with the destination directory without normalizing the resulting path or verifying that it remains within the target. Standard library ZIP extractors preserve entry names verbatim. Without explicit validation, relative path segments resolve outside the upload root and overwrite or create files in arbitrary writable locations on the filesystem.

Attack Vector

The attack requires an account with the course editor role, satisfying the low-privilege precondition. The attacker builds a SCORM-shaped ZIP archive containing entries whose names embed ../ sequences targeting writable paths such as application source directories, scheduler hooks, or web-accessible static folders. The attacker uploads the archive through the standard SCORM import interface. When the server extracts the archive, attacker-controlled files land outside the SCORM sandbox. Writing to a Python module loaded by the Frappe worker or to a public assets directory can yield remote code execution or stored cross-site scripting against learners and administrators. See GitHub Security Advisory GHSA-mxh7-g3r7-g96h for vendor details.

Detection Methods for CVE-2026-39405

Indicators of Compromise

  • SCORM ZIP uploads containing archive entries with ../ or absolute path prefixes in their filenames.
  • Files appearing outside the configured SCORM content directory with recent modification timestamps matching upload events.
  • Unexpected .py, .html, or hook files written under the Frappe apps/ or sites/ directories shortly after a course editor session.
  • Web access logs showing course editor accounts hitting the SCORM import endpoint followed by anomalous requests to newly created paths.

Detection Strategies

  • Inspect ZIP archive contents before extraction and reject any entry whose normalized path escapes the destination directory.
  • Compare the post-extraction filesystem state against an allowlist of expected SCORM directories and flag deviations.
  • Hunt for process executions spawned by the Frappe worker user that originate from files written into non-standard locations.
  • Correlate course editor role assignments with SCORM upload activity to surface anomalous editors.

Monitoring Recommendations

  • Enable file integrity monitoring on Frappe apps/, sites/, and any web-served static directories.
  • Log and retain all SCORM upload events with the uploading user, archive hash, and resulting file paths.
  • Alert on writes to Python source files, hook configuration files, or .htaccess-style files outside expected deployment workflows.

How to Mitigate CVE-2026-39405

Immediate Actions Required

  • Upgrade Frappe LMS to version 2.50.1 or later, available at the Frappe LMS v2.50.1 release.
  • Audit accounts holding the course editor role and remove the privilege from users who do not require SCORM import capability.
  • Review filesystem locations outside the SCORM content directory for files created since SCORM uploads were first enabled.
  • Rotate any secrets, API keys, or credentials stored on the LMS host if unauthorized file writes are detected.

Patch Information

Frappe released the fix in Frappe LMS v2.50.1. The patch adds validation of archive entry paths during SCORM extraction so that entries resolving outside the target directory are rejected. Administrators should pull the updated container image or git tag and restart Frappe workers after upgrading. Vendor remediation details are documented in GitHub Security Advisory GHSA-mxh7-g3r7-g96h.

Workarounds

  • Temporarily disable SCORM uploads at the application or reverse proxy layer until the upgrade is applied.
  • Restrict the course editor role to a small set of trusted administrators while the system remains on a vulnerable version.
  • Run the Frappe worker under a least-privileged system account with read-only access to application source directories.
bash
# Configuration example: upgrade Frappe LMS to the patched version
bench get-app --branch main lms https://github.com/frappe/lms
bench --site <your-site> install-app lms
bench update --apps lms
bench --site <your-site> migrate
bench restart

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

  • SeverityCRITICAL

  • CVSS Score9.4

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release v2.50.1

  • GitHub Security Advisory GHSA-mxh7-g3r7-g96h
  • Related CVEs
  • CVE-2026-39352: Frappe Path Traversal Vulnerability

  • CVE-2025-68953: Frappe Path Traversal Vulnerability

  • CVE-2025-66206: Frappe Path Traversal Vulnerability

  • CVE-2026-46546: Frappe LMS XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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