{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.21.1"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "65d06987634a420a652695d21262ac7bf68622be"
            },
            {
              "fixed": "86a9b3e212ff5a5537b0c7050c7802aea7fe486f"
            }
          ],
          "repo": "https://github.com/youlaitech/youlai-boot",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110216.json"
  },
  "details": "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.",
  "id": "CVE-2026-110216",
  "modified": "2026-10-15T02:30:25.445496156Z",
  "published": "2026-10-13T18:50:04.523Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110216.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/youlai-boot-role-menu-assignment-and-user-status-missing-authorization"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-110216"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/youlai-boot-through-2.21.1-missing-authorization-in-user-status-update-endpoint"
    },
    {
      "type": "FIX",
      "url": "https://github.com/youlaitech/youlai-boot/commit/86a9b3e212ff5a5537b0c7050c7802aea7fe486f"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/youlaitech/youlai-boot"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/youlaitech/youlai-boot/blob/v2.21.1/src/main/java/com/youlai/boot/system/controller/UserController.java#L114-L126"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "youlai-boot through 2.21.1 Missing Authorization in User Status Update Endpoint"
}