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-66735

CVE-2025-66735: Youlai-boot Auth Bypass Vulnerability

CVE-2025-66735 is an authentication bypass flaw in Youlai-boot V2.21.1 affecting SysRoleController.java. Non-root users can access root roles due to missing permission checks. This article covers technical details, impact, and mitigation.

Updated: May 11, 2026

CVE-2025-66735 Overview

CVE-2025-66735 is a broken access control vulnerability in youlai-boot V2.21.1, a Java-based rapid development framework. The getRoleForm function in SysRoleController.java fails to enforce permission checks before returning role configuration data. Non-root users can directly invoke the endpoint to retrieve information tied to root roles, bypassing the intended role-based access control model. The flaw is tracked under CWE-284: Improper Access Control and is exploitable remotely over the network without user interaction.

Critical Impact

Authenticated low-privilege users can read root role definitions through getRoleForm, exposing privileged role metadata and enabling reconnaissance for further privilege escalation.

Affected Products

  • youlai-boot version 2.21.1
  • Deployments using the default SysRoleController implementation
  • Downstream applications built on the affected youlai-boot release

Discovery Timeline

  • 2025-12-22 - CVE-2025-66735 published to NVD
  • 2026-01-06 - Last updated in NVD database

Technical Details for CVE-2025-66735

Vulnerability Analysis

The vulnerability resides in the getRoleForm handler of SysRoleController.java within youlai-boot V2.21.1. The controller method exposes role configuration data through a REST endpoint, but it omits the authorization annotation or programmatic permission check normally required for administrative role operations. As a result, any authenticated user holding a valid session token can request role records belonging to the root or superadmin tier.

This weakness is a classic missing function-level authorization issue. The application relies on the assumption that only privileged users will reach the endpoint through the UI, while the underlying API enforces no server-side gate. Attackers who enumerate role identifiers can pull back details on highly privileged roles that should never be visible to standard accounts.

Root Cause

The root cause is the absence of a permission check, such as a Spring Security @PreAuthorize annotation or an equivalent guard within the method body. The vendor commit 9197065102f92264ded814a9d3e9f2a4ff0da121 adds the missing authorization enforcement so role lookups respect the caller's privilege level.

Attack Vector

Exploitation requires network access to the application and a valid low-privilege account. The attacker issues an HTTP request to the role form endpoint, supplying the identifier of a root role. The server returns the role definition without validating that the caller is entitled to view it. Reference details are available in the Gitee issue report and a public code snippet demonstrating the unauthorized access path.

Detection Methods for CVE-2025-66735

Indicators of Compromise

  • HTTP requests to the role form endpoint originating from accounts that do not hold administrative roles.
  • Repeated sequential requests enumerating role identifiers, particularly low-numbered IDs associated with root or superadmin entries.
  • Application logs showing successful responses to getRoleForm calls without a preceding permission validation entry.

Detection Strategies

  • Audit application access logs to correlate SysRoleController invocations with the role assigned to the calling principal.
  • Deploy web application firewall rules that flag access to administrative role endpoints from sessions lacking elevated privileges.
  • Add server-side instrumentation that records the authenticated user identifier and resolved authorities for every call to role management APIs.

Monitoring Recommendations

  • Forward youlai-boot application logs and reverse-proxy access logs to a centralized log platform for correlation.
  • Alert on response payloads containing root role markers when the requesting account is non-administrative.
  • Track anomalous spikes in 200-OK responses to role configuration endpoints from non-admin user agents or IP ranges.

How to Mitigate CVE-2025-66735

Immediate Actions Required

  • Upgrade youlai-boot to a version newer than 2.21.1 that includes the vendor fix commit 9197065.
  • Restrict network exposure of the youlai-boot administrative endpoints to trusted internal networks until patching is complete.
  • Review accounts created in the affected window and rotate credentials for any privileged role exposed through the flaw.

Patch Information

The vendor addressed the issue in commit 9197065102f92264ded814a9d3e9f2a4ff0da121 on the official Gitee repository. The patch adds the missing permission enforcement to the getRoleForm handler. Operators should pull the fixed revision, rebuild the application, and redeploy.

Workarounds

  • Add a Spring Security @PreAuthorize("hasAuthority('sys:role:query')") annotation or equivalent guard on the getRoleForm method before rebuilding.
  • Place the role management API behind a reverse proxy rule that requires administrator group membership prior to forwarding requests.
  • Temporarily disable the role form endpoint in environments where administrative role editing is not required.
bash
# Configuration example: nginx reverse-proxy guard for the role form endpoint
location ~* /api/v1/sys/roles/.*/form$ {
    if ($http_x_user_role !~* "^(root|admin)$") {
        return 403;
    }
    proxy_pass http://youlai_backend;
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechYoulai Boot

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-284
  • Technical References
  • GitHub Gist Code Snippet
  • Vendor Resources
  • Gitee Commit Details

  • Gitee Issue Report
  • Related CVEs
  • CVE-2025-55471: Youlai-boot Information Disclosure 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