CVE-2026-95860
published critical CVSS 3.1 · 9.1node-opcua: Namespace-Level RBAC Fail-Open - Anonymous Write/Call Bypass via Unbound `DefaultRolePermissions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| node-opcua | — | node-opcua>= 2.42.0, < 2.180.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| node-opcua | node-opcua | >= 2.42.0, < 2.180.0 (affected) | GitHub_M · cna |
Weaknesses
4- 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
References
4Provider assertions
2GitHub_M · cna
node-opcua: Namespace-Level RBAC Fail-Open - Anonymous Write/Call Bypass via Unbound `DefaultRolePermissions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 516efe70ff1b9010bdbf1037480cafc487aa86b6676f65d93070c1110158ecf3
- Ingested
- 07 Nov 2026, 23:49:33 UTC
- Source record
- Official CVE record