Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege tenant user
-
DeliveryPOST updateOneValueByKeyIdAndType type=UserRole with own userID + admin roleID
-
ExploitEndpoint skips authz and writes role grant
-
ExecutionAccount escalated to tenant administrator
-
ImpactFull read/write control of tenant data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated low-privilege tenant account on a jshERP 3.6 instance (PR:L); self-registration or any compromised ordinary user suffices. The attacker sends a crafted POST to the updateOneValueByKeyIdAndType endpoint with type=UserRole, their own user ID, and a role ID list - the endpoint applies no ownership/privilege validation, so no special configuration or victim interaction is needed. The only limiting factors are that a valid session is required and that the deployment must expose more than the single default admin user for escalation to be meaningful; no non-default configuration or specific platform beyond running version 3.6 is required. |
| Impact | This is a genuine, actionable privilege-escalation flaw despite being authentication-gated. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, VC:H/VI:H/VA:H) scores 8.7 and maps cleanly to a CVSS 3.1 equivalent of ~8.8 (AV:N/AC:L/PR:L/UI:N/C:H/I:H/A:H) - network-reachable, low attack complexity, only low-privilege authentication needed, and high impact to confidentiality, integrity, and availability. A public PoC exists (LinYuanyi1 poc-01) and the finding was reported by VulnCheck, so exploitation is trivial for anyone with a valid low-privilege tenant account. No EPSS score and no CISA KEV listing are provided, so there is no evidence of automated mass exploitation in the wild - the realistic risk profile is an insider or a compromised low-tier account escalating to tenant administrator rather than internet-wide scanning. The one real limiter is the PR:L gate: an attacker must already hold a valid account, which caps the population of exploitable instances to those with multiple/self-registerable users. Net: a real priority for anyone running jshERP 3.6 with more than one user, not an inflated high-CVSS-but-low-risk item. |
| Exploit ScenarioDerived | A low-privilege tenant user, or an attacker who has phished/compromised any ordinary jshERP account, sends a single POST to the updateOneValueByKeyIdAndType endpoint with type=UserRole, their own user ID, and a role ID list containing the tenant-administrator role. Because the endpoint performs no ownership or privilege check, the attacker's account is immediately promoted to tenant admin, granting full control over the tenant's data and configuration. A public Python PoC (poc-01) demonstrates the exact request, so weaponization requires no research. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 21, 2026
Privilege escalation in jshERP 3.6 allows an authenticated low-privilege tenant user to grant themselves arbitrary roles, including tenant administrator, by sending a crafted POST request to the updateOneValueByKeyIdAndType endpoint with type=UserRole, their own user ID, and a role ID list. The endpoint applies no ownership or privilege validation (CWE-862), and publicly available exploit code exists. Exploitation requires only a valid low-privilege session; no victim interaction or special configuration is needed, and no CISA KEV listing is present in the provided data to confirm active exploitation.
Earlier versions of this analysis (1)
Authenticated privilege escalation in jshERP 3.6 lets any low-privilege tenant user grant themselves arbitrary roles through the updateOneValueByKeyIdAndType endpoint, escalating to tenant administrator. Exploitation requires only a valid non-privileged account (self-registration or any existing internal user), network reachability to the endpoint, and a single POST request specifying type=UserRole with the attacker's own user ID and a role ID list; no user interaction or non-default configuration is required. Publicly available exploit code exists, and with a CVSS of 8.8 the finding is a genuine priority within its deployment niche. No vendor-released patched version has been identified at time of analysis.
RemediationAI
No vendor-released patch is identified in the provided data. Until an official fix is available, the most direct mitigation is to modify the server-side authorization logic for updateOneValueByKeyIdAndType so that the authenticated caller can only modify their own UserRole mapping and only administrators can assign roles; this requires code changes to UserBusinessController.java and a redeployment, and may break legitimate role-management workflows until tested. If the endpoint is not required for business operations, block or disable POST requests to updateOneValueByKeyIdAndType (for example at a reverse proxy or WAF) - trade-off: this can prevent legitimate role administration. Restrict access to the jshERP web interface to trusted networks or a VPN, and disable self-registration if enabled - trade-off: reduces remote accessibility and may block legitimate new users. Audit existing users and roles for unexpected administrative assignments, and monitor application logs for POST requests to updateOneValueByKeyIdAndType with type=UserRole. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/jsherp-3.6-privilege-escalation-via-updateonevaluebykeyidandtype) and the vendor repository (https://github.com/jishenghua/jshERP) for patch updates. The public POC is at https://github.com/LinYuanyi1/cve-request-poc/blob/master/jshERP/poc-01-userbusiness-self-privilege-escalation.py.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
jshERP is a Java-based open-source ERP application; the vulnerable code is in the Spring MVC controller UserBusinessController.java (lines 178-198) in the v3.6 branch. The updateOneValueByKeyIdAndType endpoint accepts a type parameter and a role ID list, and when type=UserRole it updates user-role associations without checking whether the caller has permission to modify the target user or assign the requested roles. The root cause is CWE-862 Missing Authorization: the application fails to enforce an authorization decision on a sensitive state-changing action. The CPE cpe:2.3:a:jishenghua:jsherp:*:*:*:*:*:*:*:* identifies the jishenghua jshERP product, with the advisory and POC targeting version 3.6. Although the input tags include 'Authentication Bypass', the assessed CVSS vector uses PR:L and the exploitation conditions require a valid low-privilege tenant account, so this is an authenticated authorization bypass and privilege escalation rather than an unauthenticated authentication bypass. The CVSS 4.0 base score is 8.7 with AV:N/AC:L/AT:N/PR:L/UI:N and high confidentiality, integrity, and availability impact on the vulnerable system, matching the independent CVSS 3.1 assessment of AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Know when Jsherp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable endpoint, trivial single request (AC:L), requires any low-privilege authenticated account (PR:L), no user interaction; self-promotion to tenant admin yields full C/I/A impact within the tenant.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
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.
Articles & Coverage 1
Technical POC Analysis
CWE-862 (Missing Authorization) in jshERP 3.6 (jshERP-boot).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
jshERP 3.6's privilege escalation flaw allows a low-privilege tenant user to become tenant administrator, threatening tenant isolation and data security. Publicly available exploit code exists, and no vendor-released patch identified at time of analysis, leaving organizations vulnerable to unauthorized access and potential fraud. Leadership should treat this as a critical risk requiring immediate compensating controls.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting access to the updateOneValueByKeyIdAndType endpoint to trusted IPs, enforcing least privilege and multi-factor authentication for all tenant users, enabling detailed audit logging for role modifications, and deploying WAF rules to detect and block POST requests with type=UserRole and role ID list parameters.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
jshERP v3.3 is vulnerable to SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
jshERP v3.3 is vulnerable to SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
jshERP v3.3 is vulnerable to SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
jshERP v3.3 is vulnerable to SQL Injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
Incorrect access control in the component \controller\ResourceController.java of jshERP v3.5 allows unauthorized attacke
Incorrect access control in the component \controller\RoleController.java of jshERP v3.5 allows unauthorized attackers t
Authenticated users can exploit a missing authorization check in jshERP 3.6 and earlier to manipulate userBusiness autho
Authenticated account takeover in jshERP through 3.6 allows any logged-in user to reset the password of any other accoun
Authenticated users of jshERP through 3.6 can read, modify, and delete other users' business objects - such as materials
Privilege escalation in jshERP through 3.6 lets any authenticated user - including one holding only a low-privileged ten
Unauthenticated remote code execution in jshERP allows remote attackers to execute arbitrary commands on deployments at
Unauthenticated information disclosure in jshERP through commit 90c411a allows network attackers to retrieve sensitive d
EUVD-2026-84041
GHSA-rv9h-p5p6-7pxh
NVD
CVE.org
EPSS
Exploit-DB