{"id":"CVE-2026-109185","summary":"jshERP through 3.6 Privilege Escalation via PUT /user/updateUser","details":"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.","modified":"2026-10-14T10:30:19.181480508Z","published":"2026-10-12T13:10:44.971Z","database_specific":{"cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109185.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109185.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-109185"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/jsherp-through-3.6-privilege-escalation-via-put-user-updateuser"},{"type":"PACKAGE","url":"https://github.com/jishenghua/jshERP"},{"type":"ARTICLE","url":"https://github.com/jishenghua/jshERP/blob/8f28e7c2fe54d54de3621a414f5df1833dc5a55f/jshERP-boot/src/main/java/com/jsh/erp/controller/UserController.java#L342-L350"},{"type":"ARTICLE","url":"https://github.com/jishenghua/jshERP/blob/8f28e7c2fe54d54de3621a414f5df1833dc5a55f/jshERP-boot/src/main/java/com/jsh/erp/service/UserService.java#L679-L709"},{"type":"EVIDENCE","url":"https://github.com/AnkesKasty/cve-request-poc/blob/a7b6d1423555812d8efa26c91c5d0683164b31e5/jshERP/poc_identity_privilege_write.py"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jishenghua/jsherp","events":[{"introduced":"0"},{"fixed":"8f28e7c2fe54d54de3621a414f5df1833dc5a55f"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"3.6"},{"fixed":"3.6"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v3.3","v3.2","v3.1","v3.0","v2.3.1","v2.3","v2.1","v2.0","v1.5","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-109185.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}