JLSEC-2026-1916: Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to...
Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN type, can result in bypassing name-constrained intermediates. Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 was accepting URI SAN types, which PKIs are often not defined to use. Additionally, when a protocol allows URI SANs, Node.js did not match the URI correctly.Versions of Node.js with the fix for this disable the URI SAN type when checking a certificate against a hostname. This behavior can be reverted through the --security-revert command-line option.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/NodeJS_16_jllto a version that resolves this vulnerability.Fixed in 16.15.0+0 - Upgrade
Upgrade
julia/libnode_jllto a version that resolves this vulnerability.Fixed in 16.14.0+0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 12.22.9 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 14.18.3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.13.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 17.3.1
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which Node.js versions are affected?
The issue affects Node.js versions earlier than 12.22.9, 14.18.3, 16.13.2, and 17.3.1.
When is this relevant to a deployment?
It is relevant where certificate hostname validation is performed and certificates or PKI policies may involve URI Subject Alternative Names. Arbitrary URI SAN acceptance can bypass name-constrained intermediates when the PKI is not specifically defined to use that SAN type.
What behavior changes after applying the fix?
Fixed Node.js versions disable URI SAN types when checking a certificate against a hostname. They also correct URI matching for protocols that allow URI SANs.
Could a configuration override re-enable the vulnerable behavior?
Yes. The fixed behavior can be reverted with the --security-revert command-line option, which restores the previous URI SAN handling.