Description
youlai-boot through 2.21.1 contains a missing authorization vulnerability that allows any authenticated user to enable or disable accounts because the updateUserStatus handler lacks a @PreAuthorize check. Attackers can send PATCH requests to /api/v1/users/{userId}/status to disable root or admin accounts, locking administrators out, or re-enable accounts an administrator has disabled.
Published: 2026-10-13
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Authenticated Account Takeover
Action: Immediate Patch
AI Analysis

Impact

The vulnerability in youlaitech's youlai-boot application allows any authenticated user to enable or disable user accounts through the /api/v1/users/{userId}/status PATCH endpoint. Because the updateUserStatus handler lacks an @PreAuthorize check, an attacker can arbitrarily alter the status of any account, including root or administrator accounts. This flaw permits an authenticated attacker to lock out administrators by disabling their accounts or to resurrect accounts a legitimate admin has disabled, thereby compromising the integrity and availability of privileged accounts.

Affected Systems

The affected product is youlaitech’s youlai-boot, a Spring Boot based REST API. Versions up to and including 2.21.1 are impacted. The vulnerability originates in the UserController class that handles user status updates.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity vulnerability. No EPSS score is publicly available, and the issue is not listed in the CISA KEV catalog, suggesting no broad exploitation has been documented yet. Nevertheless, the flaw can be exploited remotely via standard HTTP PATCH requests once the attacker is authenticated. The lack of authorization on this endpoint makes it trivial for an attacker to increase their control over the system by disabling or enabling user accounts, which poses a significant risk to the availability of administrative access.

Generated by OpenCVE AI on October 17, 2026 at 06:11 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a version of youlai-boot that includes the @PreAuthorize protection on the updateUserStatus endpoint.
  • If upgrading is not immediately possible, modify the controller to enforce an access control policy such as @PreAuthorize("hasRole('ADMIN')") so that only privileged users can change account states.
  • Deploy monitoring or intrusion detection rules to log and alert on any changes made to /api/v1/users/*/status so that anomalous activity can be identified quickly.

Generated by OpenCVE AI on October 17, 2026 at 06:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description youlai-boot through 2.21.1 contains a missing authorization vulnerability that allows any authenticated user to enable or disable accounts because the updateUserStatus handler lacks a @PreAuthorize check. Attackers can send PATCH requests to /api/v1/users/{userId}/status to disable root or admin accounts, locking administrators out, or re-enable accounts an administrator has disabled.
Title youlai-boot through 2.21.1 Missing Authorization in User Status Update Endpoint
First Time appeared Youlai
Youlai youlai-boot
Weaknesses CWE-862
CPEs cpe:2.3:a:youlai:youlai-boot:*:*:*:*:*:*:*:*
Vendors & Products Youlai
Youlai youlai-boot
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Youlai Youlai-boot
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-16T22:29:44.231Z

Reserved: 2026-10-13T17:59:16.887Z

Link: CVE-2026-110216

cve-icon Vulnrichment

Updated: 2026-10-16T22:29:38.467Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-13T19:18:45.790

Modified: 2026-10-16T23:16:59.993

Link: CVE-2026-110216

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T10:45:13Z

Weaknesses