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

CVE-2025-66916: RuoYi-Vue-Plus RCE Vulnerability

CVE-2025-66916 is a remote code execution vulnerability in RuoYi-Vue-Plus that allows attackers to execute arbitrary file operations through unfiltered QLExpress expressions. This post covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-66916 Overview

A critical code injection vulnerability has been identified in the snailjob component of RuoYi-Vue-Plus, a popular enterprise-grade rapid development platform built on Vue and Spring Boot. The vulnerability exists in the /snail-job/workflow/check-node-expression interface, which executes QLExpress expressions without properly filtering user input. This flaw allows attackers to leverage the File class to perform arbitrary file reading and writing operations on the affected system.

Critical Impact

Remote unauthenticated attackers can exploit this QLExpress expression injection vulnerability to read sensitive configuration files, write malicious content, and potentially achieve full system compromise through arbitrary file operations.

Affected Products

  • RuoYi-Vue-Plus version 5.5.1 and earlier
  • snailjob component with QLExpress expression evaluation enabled
  • Applications using the vulnerable /snail-job/workflow/check-node-expression endpoint

Discovery Timeline

  • 2026-01-08 - CVE-2025-66916 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-66916

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Improper Control of Generation of Code - Code Injection). The snailjob component in RuoYi-Vue-Plus implements a workflow expression validation endpoint that evaluates QLExpress expressions provided by users. QLExpress is a dynamic scripting language for Java applications that allows runtime code execution, making it a powerful but potentially dangerous feature when exposed without proper input sanitization.

The vulnerable endpoint /snail-job/workflow/check-node-expression accepts user-supplied expressions and passes them directly to the QLExpress engine for evaluation. The lack of input filtering or sandboxing allows attackers to craft malicious expressions that instantiate Java classes, including java.io.File and related I/O classes. This enables unauthorized filesystem access with the privileges of the application server process.

The attack surface is particularly concerning as it can be exploited remotely over the network without authentication, requiring no user interaction to succeed.

Root Cause

The root cause of this vulnerability is the absence of input validation and expression sandboxing in the QLExpress expression evaluation flow. The application fails to:

  1. Implement a whitelist of allowed classes and methods within QLExpress expressions
  2. Filter dangerous Java classes such as java.io.File, java.io.FileInputStream, java.io.FileOutputStream, and reflection APIs
  3. Validate or sanitize user-provided expression strings before evaluation
  4. Implement authentication or authorization checks on the vulnerable endpoint

This design flaw allows unrestricted access to Java's filesystem APIs through the expression evaluation mechanism.

Attack Vector

The attack is executed remotely over the network by sending crafted HTTP requests to the /snail-job/workflow/check-node-expression endpoint. An attacker constructs a malicious QLExpress expression that:

  1. Instantiates Java File class objects to reference arbitrary filesystem paths
  2. Uses file I/O classes to read sensitive files such as configuration files, credentials, or system information
  3. Writes malicious content to accessible locations, potentially enabling further exploitation such as web shell deployment or configuration tampering

The vulnerability allows attackers to traverse the filesystem and access any files readable by the application server process, as well as create or modify files in writable locations. This can lead to sensitive data disclosure, configuration manipulation, or serve as a stepping stone for achieving remote code execution through file write primitives.

For detailed technical information about the exploitation mechanism, refer to the GitHub Documentation on QLExpress and the GitHub Gist Resource.

Detection Methods for CVE-2025-66916

Indicators of Compromise

  • Unusual HTTP requests targeting /snail-job/workflow/check-node-expression endpoint
  • Log entries containing QLExpress expressions with File class references or I/O operations
  • Unexpected file access patterns in application server logs indicating reads of sensitive files such as /etc/passwd, configuration files, or credential stores
  • Creation of new files in web-accessible directories or temporary folders by the application process

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing suspicious QLExpress expressions with File class instantiation patterns
  • Deploy endpoint detection and response (EDR) solutions to monitor for anomalous file access by Java application processes
  • Configure intrusion detection systems (IDS) to alert on HTTP requests to the vulnerable endpoint containing potentially malicious expression patterns
  • Review application logs for failed or successful expression evaluations that reference filesystem paths

Monitoring Recommendations

  • Enable detailed access logging for all requests to the snailjob workflow endpoints
  • Monitor file integrity on critical system files and application configurations to detect unauthorized modifications
  • Implement real-time alerting for requests containing QLExpress expressions that attempt to access sensitive file paths
  • Track and alert on file operations performed by the application server process outside of expected directories

How to Mitigate CVE-2025-66916

Immediate Actions Required

  • Restrict access to the /snail-job/workflow/check-node-expression endpoint through network segmentation or firewall rules
  • Implement authentication and authorization requirements on all workflow-related endpoints
  • Deploy WAF rules to block requests containing QLExpress expressions with dangerous class references
  • Audit application logs to identify any potential exploitation attempts and assess if compromise has occurred

Patch Information

Organizations using RuoYi-Vue-Plus should monitor the official Gitee Project Repository for security updates and patch releases addressing this vulnerability. Upgrade to a patched version as soon as one becomes available from the maintainers.

Workarounds

  • Disable the vulnerable /snail-job/workflow/check-node-expression endpoint if the workflow expression validation feature is not required for business operations
  • Implement a custom QLExpress sandbox that restricts access to dangerous Java classes including java.io.File, java.io.FileInputStream, java.io.FileOutputStream, and reflection APIs
  • Add input validation to reject expressions containing references to file I/O classes before they are evaluated
  • Deploy the application behind a reverse proxy that filters and blocks malicious expression patterns in request bodies
bash
# Example: Restrict access to vulnerable endpoint via nginx
location /snail-job/workflow/check-node-expression {
    # Block public access - only allow from internal management network
    allow 10.0.0.0/8;
    deny all;
    
    # Alternatively, require authentication
    # auth_basic "Restricted Access";
    # auth_basic_user_file /etc/nginx/.htpasswd;
}

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRuoyi Vue Plus

  • SeverityCRITICAL

  • CVSS Score9.4

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Gist Resource

  • Gitee Project Repository

  • GitHub Documentation on QLExpress
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox 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