{"id":"CVE-2026-54155","revision":"ab74a31e3a844ac69fa29bedfec3fd7d","records":[{"revision":"ab74a31e3a844ac69fa29bedfec3fd7d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-54155","aliases":[],"title":"node-opcua: Missing nonce verification in UserNameIdentityToken authentication","description":"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.","state":0,"publishedAt":"2026-09-14T16:07:50.461+00:00","modifiedAt":"2026-09-14T16:39:35.824+00:00","affected":[{"ecosystem":"Vendor product","name":"node-opcua","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"node-opcua\",\n                    \"product\": \"node-opcua\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.166.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","score":7.7,"severity":"HIGH"}],"references":["https://github.com/node-opcua/node-opcua/security/advisories/GHSA-mq36-523m-x7vv","https://github.com/node-opcua/node-opcua/commit/c6b05738682f5c8d70b1ea275c881f01a1cd9787","https://github.com/node-opcua/node-opcua/releases/tag/v2.166.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-54155","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-54155","identifiers":["CVE-2026-54155"]},"retained":false,"historicalAffected":[]}],"coverage":[]}