CVE-2026-95860 node-opcua · node-opcua
AI summary
In node-opcua from 2.42.0 until 2.180.0, namespace-level access control set via setDefaultRolePermissions is not enforced for nodes without explicit RolePermissions, allowing an anonymous network client to write variables or call methods. Critical (CVSS 9.1); fixed in 2.180.0.
Official 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.
- Published
- 2026-11-03 21:17 UTC
- Modified
- 2026-11-07 04:17 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS
- 0.52% (percentile 37)
- ENISA EUVD
- EUVD-2026-116210
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-285
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- github.com
https://github.com/node-opcua/node-opcua/commit/0261e873900800983c622e01120f484dc6063698 - github.com
https://github.com/node-opcua/node-opcua/pull/1580 - github.com
https://github.com/node-opcua/node-opcua/releases/tag/v2.180.0 - github.com
https://github.com/node-opcua/node-opcua/security/advisories/GHSA-xggf-m53x-jc3f