CVE-2026-54155
HIGH 7.7CVSS 3.1node-opcua missing nonce verification in UserNameIdentityToken authentication
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.
- Published
- 14 Sep 2026
- Last modified
- 30 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-347
- Also known as
- GHSA-mq36-523m-x7vv
- Sources
- NVDJSONOSV GHSA-mq36-523m-x7vvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | node-opcua | <= 2.165.0 |
References
- https://github.com/node-opcua/node-opcua/commit/c6b05738682f5c8d70b1ea275c881f01a1cd9787
- https://github.com/node-opcua/node-opcua/releases/tag/v2.166.0
- https://github.com/node-opcua/node-opcua/security/advisories/GHSA-mq36-523m-x7vv · WEB
- https://github.com/node-opcua/node-opcua · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 14 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Aug 2026)