CVE-2026-29648: OpenXiangShan NEMU - Broken Access Control
- Cve: CVE-2026-29648
- Name: OpenXiangShan NEMU - Broken Access Control
- Description: In OpenXiangShan NEMU, when Smstateen is enabled, clearing mstateen0.ENVCFG does not correctly restrict access to henvcfg and senvcfg. As a result, less-privileged code may read or write these CSRs without the required exception, potentially bypassing intended state-enable based isolation controls in virtualized or multi-privilege environments.
- Impact: Less-privileged code can bypass isolation controls to read or write sensitive CSRs, risking privilege escalation or security boundary bypass.
- Remediation: Update to the latest version with proper mstateen0.ENVCFG handling.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation, broken_access_control
- Requirements: Smstateen must be enabled
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00324
- Epss percentile: 0.25972
- Assignee: [email protected]
- Published at: 2026-04-20T21:16:19Z
- Age in days: 218
- Modified at: 2026-06-17T10:29:51Z
- References total: 3
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-29648
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-269 | Improper Privilege Management |
References
Same in every row:
- Source: nvd
- Tags:
| Url |
|---|
| https://docs.riscv.org/reference/isa/priv/smstateen.html |
| https://github.com/OpenXiangShan/NEMU/issues/690 |
| https://github.com/OpenXiangShan/XiangShan/pull/3978 |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| OpenXiangShan/XiangShan | pull | yes | /v1/repositories/OpenXiangShan/XiangShan |
| OpenXiangShan/NEMU | issues | yes | /v1/repositories/OpenXiangShan/NEMU |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts