CVE-2026-95860
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.
Weakness
- CWE-285: Improper Authorization
- CWE-636: Not Failing Securely
- CWE-863: Incorrect Authorization
- CWE-1188: Initialization of a Resource with an Insecure Default
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-11-07 |
Timeline
- 2026-11-03Published by the CNA20:11 UTC
- 2026-11-07CISA SSVC decision recorded4 days after publication
- 2026-11-10GitHub advisory published (GHSA-xggf-m53x-jc3f)7 days after publication
Exploit and advisory records
GitHub advisory GHSA-xggf-m53x-jc3f, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm node-opcua | from 2.42.0 before 2.180.0 | 2.180.0 |
| npm node-opcua-address-space | from 2.42.0 before 2.180.0 | 2.180.0 |
| npm node-opcua-server | from 2.42.0 before 2.180.0 | 2.180.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| node-opcua node-opcua |
References
- https://github.com/node-opcua/node-opcua/commit/0261e873900800983c622e01120f484dc6063698
- https://github.com/node-opcua/node-opcua/pull/1580
- https://github.com/node-opcua/node-opcua/releases/tag/v2.180.0
- https://github.com/node-opcua/node-opcua/security/advisories/GHSA-xggf-m53x-jc3f
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-95860'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-95860'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-95860'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-95860'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).