CVE-2026-95860
Kritisch 9,1node-opcua: Namespace-Level RBAC Fail-Open - Anonymous Write/Call Bypass via Unbound `DefaultRolePermissions
- CVSS
- 9,1 (v3.1)
- Angriffswahrscheinlichkeit (EPSS)
- 0,53 % (höher als 46,0 % aller Lücken)
- Veröffentlicht
- 03.11.2026
- Zuletzt geändert
- 07.11.2026
Beschreibung
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.
Betroffene Pakete
| Paket | Betroffen | Behoben in |
|---|---|---|
| npm node-opcua | ab 2.42.0 vor 2.180.0 | 2.180.0 |
| npm node-opcua-address-space | ab 2.42.0 vor 2.180.0 | 2.180.0 |
| npm node-opcua-server | ab 2.42.0 vor 2.180.0 | 2.180.0 |
Quellen
Weitere Kennungen
GHSA-xggf-m53x-jc3f · CWE-285 · CWE-636 · CWE-863 · CWE-1188
Sind Ihre Projekte betroffen?
Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.