Technical impact
node-opcua, an OPC UA library for TypeScript and Node.js, has a flaw where the runtime incorrectly reads a missing or null DefaultRolePermissions metadata value and treats it as permissive. This allows an anonymous network client to write variables with CurrentWrite access or invoke bound methods that should be denied, effectively bypassing namespace‑level RBAC. The result is that an attacker can alter configuration data or trigger operations they should not have the right to perform, which undermines data integrity and could compromise the availability of the OPC UA server.
Affected Systems
The vulnerability applies to node‑opcua versions 2.42.0 through 2.179.9 inclusive. Any OPC UA server built with one of those releases that relies on namespace‑level default role permissions and does not set explicit per‑node RolePermissions is affected. Servers that have no declared security policy, nodes with explicit per‑node permissions, or those that correctly bind programmatic namespace metadata are not impacted. The issue was resolved in version 2.180.0.
Risk and Exploitability
The CVSS score of 9.1 signals a critical severity. EPSS is not available, but the flaw remains exploitable as an anonymous client can send write or method call requests and receives permissive enforcement. The vulnerability is not listed in the CISA KEV catalog. Attackers with network access to an OPC UA endpoint that uses an affected node-opcua version can therefore execute arbitrary writes or method calls, potentially leading to system compromise.
Github GHSA