{"id":"CVE-2026-54155","published":"2026-09-14T16:07:50Z","modified":"2026-09-14T16:39:35Z","title":"node-opcua: Missing nonce verification in UserNameIdentityToken authentication","vendor":"node-opcua","product":"node-opcua","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00424,"percentile":0.37561,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/node-opcua/node-opcua/security/advisories/GHSA-mq36-523m-x7vv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/node-opcua/node-opcua/commit/c6b05738682f5c8d70b1ea275c881f01a1cd9787","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-opcua/node-opcua/releases/tag/v2.166.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":7.51},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"node-opcua","affectedVersions":[{"vendor":"node-opcua","product":"node-opcua","versions":["< 2.166.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-14T16:39:00.556555Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"node-opcua","vulnerableRanges":["<=2.165.0"],"patched":[],"from":["GHSA-mq36-523m-x7vv"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-77619","exploited":false,"provenance":"source"}}