Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2025-68929

CVE-2025-68929: Frappe Framework RCE Vulnerability

CVE-2025-68929 is a remote code execution vulnerability in Frappe Framework where authenticated users can be tricked into executing malicious templates. This article covers technical details, affected versions, and patches.

Published: April 8, 2026

CVE-2025-68929 Overview

CVE-2025-68929 is a critical Server-Side Template Injection (SSTI) vulnerability affecting the Frappe full-stack web application framework. An authenticated user with specific permissions could be tricked into accessing a specially crafted link, leading to malicious template execution on the server and resulting in remote code execution.

Critical Impact

This vulnerability enables remote code execution through server-side template injection, allowing attackers to execute arbitrary code on the server with the privileges of the web application process.

Affected Products

  • Frappe Framework versions prior to 14.99.6
  • Frappe Framework versions prior to 15.88.1
  • Applications built on vulnerable Frappe Framework versions (including ERPNext)

Discovery Timeline

  • 2025-12-29 - CVE-2025-68929 published to NVD
  • 2025-12-31 - Last updated in NVD database

Technical Details for CVE-2025-68929

Vulnerability Analysis

This vulnerability is classified as CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine). The Frappe framework's template rendering functionality fails to properly sanitize user-controlled input before processing it through the template engine. When an authenticated user with appropriate permissions is induced to access a maliciously crafted link, the attacker-controlled template code is executed server-side.

The attack requires user interaction (clicking a crafted link) and the victim must have specific permissions within the Frappe application. However, successful exploitation grants the attacker full remote code execution capabilities, potentially compromising the entire server and any data accessible to the application. The scope is changed (S:C), meaning successful exploitation can affect resources beyond the vulnerable component's security scope.

Root Cause

The root cause stems from improper neutralization of special elements in template input processing. The Frappe framework's Jinja2 template engine does not adequately sanitize or restrict user-supplied input that flows into template rendering contexts. This allows attackers to inject template directives that are then executed by the server-side template engine.

Attack Vector

The attack vector involves social engineering combined with technical exploitation:

  1. Crafted Link Creation: The attacker constructs a URL containing malicious template injection payload
  2. Social Engineering: The victim (an authenticated Frappe user with specific permissions) is tricked into clicking the crafted link
  3. Template Processing: The server processes the malicious input through the template engine without proper sanitization
  4. Code Execution: The injected template code executes on the server with the application's privileges

The vulnerability is network-accessible, requires low attack complexity, but necessitates low-privilege authentication and user interaction. The potential for complete system compromise through server-side code execution makes this a critical security issue.

Detection Methods for CVE-2025-68929

Indicators of Compromise

  • Unusual HTTP requests containing Jinja2 template syntax such as {{, {%, or __class__ in URL parameters or request bodies
  • Server logs showing unexpected subprocess spawns or shell command executions originating from the Frappe web process
  • Unexpected outbound network connections from the Frappe application server
  • Presence of unfamiliar files in the application directory or temporary directories

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block template injection patterns in HTTP requests
  • Monitor application logs for template rendering errors or unusual template processing activity
  • Deploy endpoint detection solutions to identify suspicious process execution chains originating from web server processes
  • Review access logs for requests containing encoded or obfuscated template injection payloads

Monitoring Recommendations

  • Enable verbose logging for the Frappe application's template rendering subsystem
  • Configure alerts for any shell command execution or subprocess creation from web application contexts
  • Monitor for anomalous authenticated user behavior, particularly users accessing unusual URLs
  • Implement network monitoring for unexpected egress traffic from application servers

How to Mitigate CVE-2025-68929

Immediate Actions Required

  • Upgrade Frappe Framework to version 14.99.6 or later for the 14.x branch
  • Upgrade Frappe Framework to version 15.88.1 or later for the 15.x branch
  • Review access logs for evidence of exploitation attempts targeting template rendering endpoints
  • Audit user permissions to ensure principle of least privilege is enforced

Patch Information

Frappe has released security patches addressing this vulnerability in versions 14.99.6 and 15.88.1. Organizations should prioritize upgrading to these patched versions immediately given the critical severity rating and remote code execution impact.

For detailed patch information, refer to:

  • GitHub Release v14.99.6
  • GitHub Release v15.88.1
  • GitHub Security Advisory GHSA-qq98-vfv9-xmxh

Workarounds

  • No official workarounds are available according to the vendor advisory
  • Consider implementing network-level restrictions to limit access to the Frappe application while awaiting patching
  • Deploy additional WAF rules to filter potential template injection payloads as a temporary defense-in-depth measure
  • Restrict user permissions to minimize the pool of potential victims who could trigger the vulnerability
bash
# Upgrade Frappe Framework to patched version
# For version 14.x branch:
bench update --apps frappe --reset
bench switch-to-branch version-14 frappe
bench update

# For version 15.x branch:
bench update --apps frappe --reset
bench switch-to-branch version-15 frappe
bench update

# Verify installed version
bench version

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFrappe

  • SeverityCRITICAL

  • CVSS Score9.0

  • EPSS Probability0.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-1336
  • Technical References
  • GitHub Release v14.99.6

  • GitHub Release v15.88.1

  • GitHub Security Advisory GHSA-qq98-vfv9-xmxh
  • Related CVEs
  • CVE-2026-40888: Frappe HR Information Disclosure Flaw

  • CVE-2026-3673: Frappe XSS Vulnerability via User Tags

  • CVE-2026-3837: Frappe Desk XSS Vulnerability

  • CVE-2026-39351: Frappe Auth Bypass Vulnerability
Default Legacy - Prefooter | 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