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-2025-54082

CVE-2025-54082: Nova Tiptap Laravel Package RCE Vulnerability

CVE-2025-54082 is a remote code execution flaw in marshmallow-packages/nova-tiptap Laravel package that allows unauthenticated file uploads to arbitrary disks. This post covers technical details, affected versions, and mitigations.

Published: May 11, 2026

CVE-2025-54082 Overview

CVE-2025-54082 is an unauthenticated arbitrary file upload vulnerability in the marshmallow-packages/nova-tiptap Laravel Nova package, a rich text editor based on tiptap. Versions prior to 5.7.0 expose the /nova-tiptap/api/file upload endpoint without Nova authentication middleware. The endpoint also lacks MIME or extension validation and allows attackers to choose the target Laravel disk dynamically. An attacker with a valid CSRF token can upload executable content such as .php files to public disks, potentially leading to Remote Code Execution (RCE) when the storage path is web-accessible. The flaw is categorized as [CWE-434: Unrestricted Upload of File with Dangerous Type].

Critical Impact

Unauthenticated attackers can upload arbitrary files — including PHP scripts — to public Laravel disks, enabling potential remote code execution or malware distribution from trusted application domains.

Affected Products

  • marshmallow-packages/nova-tiptap versions prior to 5.7.0
  • Laravel Nova applications integrating the nova-tiptap rich text editor
  • Deployments exposing the public, local, or S3 disks with public access

Discovery Timeline

  • 2025-07-21 - CVE-2025-54082 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-54082

Vulnerability Analysis

The vulnerability stems from three compounding weaknesses in the nova-tiptap package. First, the /nova-tiptap/api/file route is registered only under the nova middleware group, omitting nova.auth. This exposes the upload handler to any unauthenticated visitor who can obtain a CSRF token from the application. Second, the controller performs no validation of file MIME type, extension, or content. Third, the request body accepts an attacker-controlled disk parameter, allowing the uploader to choose the destination Laravel storage disk — including public or s3 disks that may be served over HTTPS.

When these conditions combine in a deployment where the chosen disk maps to a web-served directory, the attacker can request the uploaded file via its public URL. If the file is a .php script and the storage path is within the PHP execution scope, the server interprets and runs the attacker's code. In other deployments the impact is reduced to arbitrary file distribution under a trusted domain, which still enables phishing payload hosting and malware staging.

Root Cause

The root cause is missing authorization on a file-handling route combined with absent server-side input validation. The original route definition applied only the nova middleware, which loads Nova's request context but does not enforce authentication. No allow-list of file types or fixed destination disk was enforced.

Attack Vector

Exploitation requires only network access to the Laravel application and a CSRF token from any reachable page. The attacker crafts a multipart POST request to /nova-tiptap/api/file, supplies the token, sets disk=public (or another writable disk), and attaches a malicious file such as shell.php. No credentials, user interaction, or prior compromise is required.

php
// Security patch in src/FieldServiceProvider.php
// Adds the missing nova.auth middleware to the upload route group
     */
    protected function routes()
    {
-        Route::middleware(['nova'])
+        Route::middleware(['nova', 'nova.auth'])
            ->prefix('nova-tiptap/api')
            ->group(__DIR__ . '/../routes/api.php');
    }

Source: GitHub commit fed42d2

Detection Methods for CVE-2025-54082

Indicators of Compromise

  • POST requests to /nova-tiptap/api/file originating from unauthenticated sessions or unexpected source IPs.
  • New files with executable extensions (.php, .phtml, .phar, .jsp, .aspx) under storage/app/public/ or other writable disk paths.
  • Outbound HTTP requests to attacker infrastructure originating from the php-fpm or web server process shortly after a file upload event.
  • Files in S3 buckets with public ACLs that do not match the application's normal upload patterns or naming conventions.

Detection Strategies

  • Inspect web server access logs for POST traffic to /nova-tiptap/api/file and correlate with the authenticated session state in the Laravel session store.
  • Monitor file system events on Laravel storage/ and configured disk roots for creation of files with executable extensions.
  • Audit the installed version of marshmallow-packages/nova-tiptap in composer.lock across all Laravel Nova deployments and flag any version below 5.7.0.

Monitoring Recommendations

  • Enable detailed request logging on the Nova application and forward events to a centralized analytics platform for retroactive hunting.
  • Alert on first-seen file extensions or content types written to public storage disks.
  • Track process lineage where the PHP interpreter spawns shells, network utilities, or package managers immediately after web requests targeting the vulnerable route.

How to Mitigate CVE-2025-54082

Immediate Actions Required

  • Upgrade marshmallow-packages/nova-tiptap to version 5.7.0 or later using composer update marshmallow-packages/nova-tiptap.
  • Review all Laravel disks for unexpected files created since the package was installed, focusing on the public and any S3 disks with public read access.
  • Rotate application keys and any credentials that may have been exposed if web shell execution is suspected.
  • Restrict direct execution of uploaded content by ensuring storage directories disable PHP execution at the web server level.

Patch Information

The fix is included in marshmallow-packages/nova-tiptap version 5.7.0. The patch applies the nova.auth middleware to the API route group in src/FieldServiceProvider.php and introduces explicit upload configuration in config/nova-tiptap.php, including default storage disk, path, and maximum file size settings. See the GitHub Security Advisory GHSA-96c2-h667-9fxp for advisory details.

Workarounds

  • If patching is not immediately possible, add a temporary route override that applies the nova.auth middleware to the /nova-tiptap/api prefix.
  • Block requests to /nova-tiptap/api/file at the reverse proxy or web application firewall for any client lacking a valid Nova session cookie.
  • Disable public read access on S3 buckets and remove public symlinks for the Laravel public disk until the upgrade is complete.
bash
# Nginx workaround: deny unauthenticated access to the vulnerable endpoint
location = /nova-tiptap/api/file {
    if ($cookie_nova_session = "") { return 403; }
    proxy_pass http://php-upstream;
}

# Disable PHP execution within Laravel storage paths
location ~* ^/storage/.*\.(php|phtml|phar)$ {
    deny all;
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLaravel

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability1.46%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/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-434
  • Technical References
  • GitHub Commit Summary

  • GitHub Security Advisory GHSA-96c2-h667-9fxp
  • Related CVEs
  • CVE-2026-7107: Invoice System Laravel RCE Vulnerability

  • CVE-2019-25673: UniSharp Laravel File Manager RCE Flaw

  • CVE-2026-4809: Laravel Mediable RCE Vulnerability

  • CVE-2025-14894: Livewire Filemanager RCE 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