---
id: CVE-2026-110216
title: >-
  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
summary: >-
  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
  request…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H'
cwe:
  - CWE-862
published: '2026-10-13'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T19:30:29.797'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110216'
references:
  - url: >-
      https://github.com/youlaitech/youlai-boot/blob/v2.21.1/src/main/java/com/youlai/boot/system/controller/UserController.java#L114-L126
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/youlaitech/youlai-boot/commit/86a9b3e212ff5a5537b0c7050c7802aea7fe486f
    label: disclosure@vulncheck.com
  - url: >-
      https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/youlai-boot-role-menu-assignment-and-user-status-missing-authorization
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/youlai-boot-through-2.21.1-missing-authorization-in-user-status-update-endpoint
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-13T19:43:28.937Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
