node-opcua: Namespace-level RBAC bypass (CVE-2026-95860)
A namespace-level RBAC fail-open vulnerability in node-opcua (CVE-2026-95860) allows unauthenticated network clients to perform unauthorized writes or method calls due to improper role permission inheritance.
CVE search metadata
CVE search record: CVE-2026-95860. Severity: critical. CVSS: 9.1. KEV: no. Product: node-opcua (2.42.0-2.179.0). Brief: node-opcua: Namespace-level RBAC bypass (CVE-2026-95860). Brief link: https://feed.craftedsignal.io/briefs/2026-11-node-opcua-rbac-bypass/
Triage facts
Revision 1- Applicability
- node-opcua (2.42.0-2.179.0)
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 4 public sources
- Freshness
- Revision 1Nov 4, 00:47 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
node-opcua is affected by an authorization bypass vulnerability (CVE-2026-95860) occurring in versions 2.42.0 through 2.179.0. The vulnerability stems from a flaw in SessionContext.getApplicableRolePermissions, which fails to correctly read DefaultRolePermissions metadata when per-node RolePermissions are not explicitly defined. Instead of inheriting restrictive defaults, the runtime treats the missing configuration as permissive. This allows anonymous network clients to write to variables or call bound methods that were intended to be protected by namespace-level access controls.
Impact
Successful exploitation allows unauthenticated remote attackers to bypass namespace-level authorization, granting them the ability to modify variables or execute functions on the OPC UA server that should otherwise be restricted. Servers with no declared default policies, or those using explicit per-node permissions, are not impacted.
Recommendation
- Upgrade node-opcua to version 2.180.0 or later to patch the underlying logic error.
- Review OPC UA server configurations to ensure that per-node permissions are explicitly defined rather than relying solely on namespace-level default inheritance until the upgrade is completed.
- Identify all instances of the
node-opcuapackage within the environment and verify the version against the vulnerable range (2.42.0 <= version < 2.180.0).
Immediate actions
Upgrade node-opcua to version 2.180.0
Threat Hunt
Monitor OPC UA server traffic for unauthorized write or method call requests from unauthenticated clients.
Data: Application-level logs of the OPC UA server
Mitigations
Verify server configurations to ensure per-node permissions are explicitly defined.
CVE-2026-95860