CVE-2026-54155node-opcua
High 7.7 No auth needed
Follow: this CVE · node-opcua · node-opcua We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.1
- 7.7
- EPSS
- —
- Auth required
- No
- Published
- Sep 14, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
What happens
node-opcua is an OPC UA implementation for TypeScript and Node.js. Prior to 2.166.0, the UserNameIdentityToken authentication handler in packages/node-opcua-server/source/opcua_server.ts decrypts an RSA-OAEP password blob but does not verify that the trailing bytes match the current session serverNonce. An unauthenticated remote attacker can obtain the server public key through GetEndpoints and forge a blob whose little-endian length produces an empty password passed to isValidUser, compromising accounts that accept an empty password. Missing nonce binding also allows a captured UserNameIdentityToken ciphertext to be replayed in another session, and SecurityMode=None removes the separate client-signature safeguard. This issue is fixed in version 2.166.0.
What to do
- Apply the vendor's security update for node-opcua.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | node-opcua |
≤ 2.165.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-mq36-523m-x7vv). Check the version in your lockfile before upgrading.
Affected products
- node-opcua · node-opcua
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.