# CVE-2026-95860: node-opcua: Namespace-Level RBAC Fail-Open - Anonymous Write/Call Bypass via Unbound `DefaultRolePermissions

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-03T20:11:38.816Z
- Modified: 2026-11-10T16:15:06.041Z
- Also known as: GHSA-xggf-m53x-jc3f
- Weaknesses: CWE-285, CWE-636, CWE-863, CWE-1188
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

node-opcua is an OPC UA implementation for TypeScript and Node.js. From 2.42.0 until 2.180.0, namespace-level access control configured through setDefaultRolePermissions is not honored by the runtime enforcement path for nodes without explicit per-node RolePermissions. SessionContext.getApplicableRolePermissions reads a missing or null DefaultRolePermissions metadata value instead of the configured namespace field, and the null result is treated permissively. An anonymous network client can consequently write variables with CurrentWrite access or call bound methods when an operator configured a restrictive namespace default and relied on inheritance. Servers with no declared policy, nodes with explicit per-node permissions, and correctly bound programmatic namespace metadata are outside the authorization-bypass case. This issue is fixed in version 2.180.0.

(As written by CVE List.)

## Affected

- node-opcua node-opcua: >= 2.42.0, < 2.180.0
- node-opcua (npm): from 2.42.0 before 2.180.0
- node-opcua-address-space (npm): from 2.42.0 before 2.180.0
- node-opcua-server (npm): from 2.42.0 before 2.180.0

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/node-opcua/node-opcua/security/advisories/GHSA-xggf-m53x-jc3f> (exploit, web)
- <https://github.com/node-opcua/node-opcua/pull/1580> (web)
- <https://github.com/node-opcua/node-opcua/commit/0261e873900800983c622e01120f484dc6063698> (web)
- <https://github.com/node-opcua/node-opcua/releases/tag/v2.180.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-95860> (advisory)
- <https://github.com/node-opcua/node-opcua> (package)

## Sources

- CVE List: [CVE-2026-95860](https://www.cve.org/CVERecord?id=CVE-2026-95860), CVE Terms of Use, modified 2026-11-07
- GitHub Advisory Database: [GHSA-xggf-m53x-jc3f](https://github.com/advisories/GHSA-xggf-m53x-jc3f), CC-BY-4.0, modified 2026-11-10
- NVD: [CVE-2026-95860](https://nvd.nist.gov/vuln/detail/CVE-2026-95860), Public domain, modified 2026-11-07

---

Page: https://cve.day/CVE-2026-95860 · Whole record: https://cve.day/CVE-2026-95860.json · Rebuilt by cve.day 2026-11-25T22:59:48.923Z
