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
    • 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-35164

CVE-2026-35164: Brave CMS RCE Vulnerability

CVE-2026-35164 is a remote code execution flaw in Brave CMS caused by unrestricted file upload in CKEditor. Attackers can upload malicious PHP scripts to execute code. This article covers technical details, affected versions, and fixes.

Published: April 10, 2026

CVE-2026-35164 Overview

CVE-2026-35164 is an unrestricted file upload vulnerability affecting Brave CMS, an open-source content management system. The vulnerability exists in the CKEditor upload functionality, specifically within the ckupload method located in app/Http/Controllers/Dashboard/CkEditorController.php. The method fails to properly validate uploaded file types and relies entirely on user input, allowing authenticated users to upload malicious PHP scripts and achieve Remote Code Execution (RCE) on the target system.

Critical Impact

Authenticated attackers can upload and execute arbitrary PHP code on the server, potentially leading to complete system compromise, data theft, and lateral movement within the network.

Affected Products

  • Brave CMS versions prior to 2.0.6
  • BraveCMS-2.0 installations with CKEditor integration
  • Systems running vulnerable CkEditorController.php implementations

Discovery Timeline

  • 2026-04-06 - CVE CVE-2026-35164 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-35164

Vulnerability Analysis

This vulnerability falls under CWE-434 (Unrestricted Upload of File with Dangerous Type). The core issue stems from insufficient server-side validation in the file upload handler. When users upload files through the CKEditor interface, the ckupload method processes the request without verifying the file extension, MIME type, or content. This design flaw allows attackers with valid authentication credentials to bypass intended restrictions and upload executable server-side scripts.

The attack requires network access and low-privilege authentication (any authenticated user), but no user interaction is needed beyond the initial authentication. Successful exploitation grants the attacker high impact across confidentiality, integrity, and availability—effectively providing full control over the web application and potentially the underlying server.

Root Cause

The root cause is the absence of file type validation logic in the ckupload method within app/Http/Controllers/Dashboard/CkEditorController.php. The controller accepts file uploads without:

  • Validating file extensions against an allowlist (e.g., only permitting images)
  • Checking MIME types server-side
  • Analyzing file content/magic bytes to verify the actual file type
  • Implementing filename sanitization to prevent directory traversal or overwriting critical files

This trust-based approach to user input violates secure coding principles and enables authenticated attackers to exploit the upload functionality.

Attack Vector

The attack vector is network-based, requiring an authenticated session within the Brave CMS dashboard. An attacker would:

  1. Authenticate to the Brave CMS dashboard using valid credentials
  2. Navigate to the CKEditor file upload functionality
  3. Upload a malicious PHP file disguised or presented as a legitimate upload
  4. Access the uploaded PHP file via its URL path on the web server
  5. Execute arbitrary commands through the uploaded webshell or script

The vulnerability allows attackers to establish persistent backdoors, exfiltrate sensitive data, modify site content, pivot to internal network resources, or deploy ransomware depending on server permissions and network architecture.

For detailed technical information on the vulnerability mechanics, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-35164

Indicators of Compromise

  • Presence of unexpected .php files in CKEditor upload directories (commonly /uploads/ or /media/)
  • PHP files with obfuscated code, base64-encoded content, or shell execution functions (exec, system, passthru, shell_exec)
  • Unusual HTTP requests to uploaded file paths with query parameters indicative of command execution
  • Web server logs showing POST requests to CKEditor upload endpoints followed by GET requests to newly created PHP files

Detection Strategies

  • Implement file integrity monitoring (FIM) on upload directories to detect unauthorized PHP file creation
  • Configure web application firewalls (WAF) to block requests containing PHP file uploads to CKEditor endpoints
  • Deploy endpoint detection and response (EDR) solutions to identify webshell behavior patterns such as process spawning from web server contexts
  • Monitor for anomalous outbound connections from the web server indicating command-and-control communication

Monitoring Recommendations

  • Enable verbose logging for all file upload operations in Brave CMS
  • Set up alerts for any new PHP files created in web-accessible directories
  • Audit authenticated user sessions accessing CKEditor upload functionality
  • Review web server access logs for suspicious patterns targeting uploaded files

How to Mitigate CVE-2026-35164

Immediate Actions Required

  • Upgrade Brave CMS to version 2.0.6 or later immediately
  • Audit upload directories for any unauthorized PHP files and remove suspicious content
  • Review web server access logs for indicators of exploitation
  • Temporarily disable the CKEditor upload functionality if immediate patching is not possible
  • Implement additional authentication controls and restrict dashboard access to trusted IP addresses

Patch Information

The vulnerability has been addressed in Brave CMS version 2.0.6. Organizations should update to this version or later to remediate the issue. The fix implements proper file type validation in the ckupload method, preventing the upload of executable scripts.

For patch details and upgrade instructions, consult the GitHub Security Advisory.

Workarounds

  • Configure the web server to prevent PHP execution in upload directories using .htaccess rules or server configuration
  • Implement a Web Application Firewall (WAF) rule to block PHP file uploads through the CKEditor endpoint
  • Restrict CKEditor file upload permissions to administrator-level users only
  • Deploy network segmentation to limit the impact of potential compromise
bash
# Apache configuration to prevent PHP execution in uploads directory
# Add to .htaccess in the uploads directory or server configuration
<Directory "/var/www/html/uploads">
    # Disable PHP execution
    php_admin_flag engine off
    
    # Alternative: use handler removal
    RemoveHandler .php .phtml .php3 .php4 .php5 .php7 .phps
    
    # Deny access to PHP files
    <FilesMatch "\.ph(p[2-7]?|tml|ps)$">
        Require all denied
    </FilesMatch>
</Directory>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechBrave Cms

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.21%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-434
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-35047: Brave CMS File Upload RCE Vulnerability

  • CVE-2026-41524: Brave CMS Stored XSS Vulnerability

  • CVE-2026-41576: Brave CMS XSS Vulnerability

  • CVE-2026-35182: Brave CMS Privilege Escalation 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