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-2026-33687

CVE-2026-33687: Sharp Laravel Auth Bypass Vulnerability

CVE-2026-33687 is an authentication bypass flaw in Sharp Laravel CMS that allows attackers to upload unrestricted file types. This article covers the technical details, affected versions, security impact, and mitigation steps.

Published: March 27, 2026

CVE-2026-33687 Overview

CVE-2026-33687 is an Unrestricted File Upload vulnerability (CWE-434) affecting Sharp, a content management framework built as a package for Laravel. This vulnerability allows authenticated users to completely bypass file type validation restrictions through a client-controlled validation parameter in the file upload endpoint.

The flaw exists in the ApiFormUploadController which accepts a validation_rule parameter directly from the client. By manipulating this parameter to contain only validation_rule[]=file, attackers can circumvent all MIME type and file extension restrictions, potentially uploading malicious files including PHP webshells.

Critical Impact

Authenticated attackers can bypass all file type restrictions to upload arbitrary files, potentially leading to remote code execution if the storage disk is configured as public.

Affected Products

  • Sharp CMS for Laravel versions prior to 9.20.0
  • Laravel applications using vulnerable Sharp package configurations
  • Deployments with public storage disk configurations (highest risk)

Discovery Timeline

  • 2026-03-26 - CVE-2026-33687 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33687

Vulnerability Analysis

This vulnerability represents a classic insecure direct object reference combined with insufficient server-side validation. The ApiFormUploadController in Sharp CMS was designed to accept client-provided validation rules for flexibility, but this design decision introduced a significant security flaw.

When processing file uploads, the controller takes a validation_rule parameter from the HTTP request and passes it directly to Laravel's validator without server-side enforcement of security constraints. This allows authenticated users to downgrade the validation from strict MIME type and extension checks to a simple "file" validation rule, which only verifies that the upload is a valid file—not what type of file it is.

The vulnerability is particularly dangerous in environments where Sharp's storage disk is configured as public. In such configurations, an attacker who successfully uploads a PHP file could directly access and execute it via the web server, achieving remote code execution.

Root Cause

The root cause is the acceptance of client-controlled input (validation_rule) for security-critical validation logic. The ApiFormUploadController trusts the client to provide appropriate validation rules rather than enforcing them server-side. This violates the principle of never trusting client input for security decisions.

The fix implemented in version 9.20.0 removes this client-controlled parameter entirely and enforces upload validation rules strictly on the server side, eliminating the bypass vector.

Attack Vector

The attack is network-based and requires authentication to the Sharp CMS interface. An attacker with valid credentials can intercept the file upload request using a proxy tool and modify the validation_rule parameter. By changing this parameter to validation_rule[]=file, all MIME type and extension restrictions are bypassed.

The exploitation flow involves:

  1. Authenticating to the Sharp CMS admin interface
  2. Initiating a file upload through a normal upload field
  3. Intercepting the upload request with a proxy
  4. Modifying the validation_rule parameter to bypass restrictions
  5. Uploading a malicious file (e.g., PHP webshell)
  6. If storage is public, accessing the uploaded file directly for execution

For detailed technical information about this vulnerability, see the GitHub Security Advisory and the Pull Request #714 which contains the fix.

Detection Methods for CVE-2026-33687

Indicators of Compromise

  • Unexpected file types appearing in Sharp's upload directories
  • PHP files or executable scripts in storage directories
  • Upload requests containing modified validation_rule parameters in web server logs
  • Access attempts to unusual file paths within the storage directory

Detection Strategies

  • Monitor web application firewall (WAF) logs for upload requests with validation_rule[]=file patterns
  • Implement file integrity monitoring on Sharp storage directories
  • Review HTTP request logs for parameter manipulation attempts on upload endpoints
  • Deploy endpoint detection to identify webshell behaviors on the web server

Monitoring Recommendations

  • Enable detailed logging for all file upload operations in Sharp CMS
  • Configure alerts for new PHP or script files appearing in storage directories
  • Monitor for unusual outbound connections from the web server that may indicate webshell activity
  • Audit authentication logs for suspicious access patterns to the Sharp admin interface

How to Mitigate CVE-2026-33687

Immediate Actions Required

  • Upgrade Sharp CMS to version 9.20.0 or later immediately
  • Audit storage directories for any unauthorized or suspicious file uploads
  • Review Sharp storage disk configuration and ensure private disk settings are enforced
  • Rotate credentials for any accounts with Sharp CMS access as a precaution

Patch Information

The vulnerability has been addressed in Sharp version 9.20.0. The fix removes the client-controlled validation rules entirely and enforces upload validation strictly on the server side. Users should update their composer.json to require version 9.20.0 or higher.

For additional details, see the GitHub Release v9.20.0 and the associated Pull Request.

Workarounds

  • Ensure the storage disk used for Sharp uploads is strictly private (not publicly accessible via web)
  • Implement additional WAF rules to block requests containing manipulated validation_rule parameters
  • Add server-side file type verification after upload as a secondary defense layer
  • Restrict Sharp CMS access to trusted networks or implement additional authentication controls
bash
# Configuration example - Ensure Sharp uses private disk in config/filesystems.php
# Verify your Sharp configuration uses a private disk:
# In config/sharp.php, ensure uploads are configured with:
# 'upload_disk' => 'local'  # Not 'public'

# Check your filesystems.php to confirm 'local' disk is not publicly accessible:
# 'local' => [
#     'driver' => 'local',
#     'root' => storage_path('app'),
#     'visibility' => 'private',
# ],

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechSharp

  • SeverityHIGH

  • CVSS Score8.8

  • 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 Pull Request

  • GitHub Release v9.20.0

  • GitHub Security Advisory

  • Laravel Filesystem Documentation
  • Related CVEs
  • CVE-2026-32326: SHARP Router Auth Bypass Vulnerability

  • CVE-2026-33686: Sharp Laravel CMS Path Traversal Flaw
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