---
id: CVE-2026-109185
title: >-
  jshERP through 3.6 contains a missing authorization vulnerability in the
  UserController updateUser handler that allows authenticated users to assign
  arbitrary roles to any user
summary: >-
  jshERP through 3.6 contains a missing authorization vulnerability in the
  UserController updateUser handler that allows authenticated users to assign
  arbitrary roles to any user. Low-privilege attackers can send their own user
  id with the…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-862
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T13:17:31.960'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109185'
references:
  - url: >-
      https://github.com/AnkesKasty/cve-request-poc/blob/a7b6d1423555812d8efa26c91c5d0683164b31e5/jshERP/poc_identity_privilege_write.py
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/jishenghua/jshERP/blob/8f28e7c2fe54d54de3621a414f5df1833dc5a55f/jshERP-boot/src/main/java/com/jsh/erp/controller/UserController.java#L342-L350
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/jishenghua/jshERP/blob/8f28e7c2fe54d54de3621a414f5df1833dc5a55f/jshERP-boot/src/main/java/com/jsh/erp/service/UserService.java#L679-L709
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/jsherp-through-3.6-privilege-escalation-via-put-user-updateuser
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-12T14:50:34.114Z'
---

## Overview

jshERP through 3.6 contains a missing authorization vulnerability in the UserController updateUser handler that allows authenticated users to assign arbitrary roles to any user. Low-privilege attackers can send their own user id with the tenant administrator roleId to escalate privileges or rebind other tenant users' roles.

## Remediation

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