{"id":"CVE-2026-94411","summary":"jshERP 3.6 Privilege Escalation via updateOneValueByKeyIdAndType","details":"jshERP 3.6 contains a privilege escalation vulnerability in the updateOneValueByKeyIdAndType endpoint that allows authenticated users to grant themselves arbitrary roles. Attackers can send a POST request with type=UserRole, their own user ID, and a role ID list to escalate from low-privilege tenant user to tenant administrator.","modified":"2026-09-22T03:31:49.811704422Z","published":"2026-09-21T18:16:10.450Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/94xxx/CVE-2026-94411.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-862"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/94xxx/CVE-2026-94411.json"},{"type":"EVIDENCE","url":"https://github.com/LinYuanyi1/cve-request-poc/blob/master/jshERP/poc-01-userbusiness-self-privilege-escalation.py"},{"type":"PACKAGE","url":"https://github.com/jishenghua/jshERP"},{"type":"ARTICLE","url":"https://github.com/jishenghua/jshERP/blob/v3.6/jshERP-boot/src/main/java/com/jsh/erp/controller/UserBusinessController.java#L178-L198"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-94411"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/jsherp-3.6-privilege-escalation-via-updateonevaluebykeyidandtype"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jishenghua/jsherp","events":[{"introduced":"8f28e7c2fe54d54de3621a414f5df1833dc5a55f"},{"last_affected":"8f28e7c2fe54d54de3621a414f5df1833dc5a55f"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"3.6"},{"last_affected":"3.6"}]}}],"versions":["3.6","v3.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-94411.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"}]}