node-opcua: Namespace-Level RBAC Fail-Open - Anonymous Write/Call Bypass via Unbound `DefaultRolePermissions
Summary
| CVE | CVE-2026-95860 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-03 21:17:45 UTC |
| Updated | 2026-11-07 04:17:35 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.1 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS: 0.005960000 probability, percentile 0.487570000 (date 2026-11-08)
Problem Types: CWE-285 | CWE-636 | CWE-863 | CWE-1188 | CWE-285 CWE-285: Improper Authorization | CWE-636 CWE-636: Not Failing Securely ('Failing Open') | CWE-863 CWE-863: Incorrect Authorization | CWE-1188 CWE-1188: Insecure Default Initialization of Resource
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| 3.1 | CNA | DECLARED | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Node-opcua | Node-opcua | affected >= 2.42.0, < 2.180.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/node-opcua/node-opcua/releases/tag/v2.180.0 | [email protected] | github.com | |
| github.com/node-opcua/node-opcua/commit/0261e873900800983c622e01120f484d... | [email protected] | github.com | |
| github.com/node-opcua/node-opcua/security/advisories/GHSA-xggf-m53x-jc3f | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/node-opcua/node-opcua/pull/1580 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.