medium CVSS 4.4 EPSS <0.1%

CVE-2026-56850·Node.js vulnerability

A flaw in Node.js HTTPS Agent connection reuse can cause PFX object-array key collisions, allowing mutual TLS (mTLS) client identities to be reused across requests configured with different client certificates. This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.

Severity
medium
Software
Node.js
Fixed in
18.20.4+dfsg-1~deb12u3
Published

How likely is exploitation

FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — in the bottom 1% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.

Affected versions

From: 26.0.0

Until: 26.5.0

Fixed in: 18.20.4+dfsg-1~deb12u3

How to fix this CVE

Update Node.js to version 18.20.4+dfsg-1~deb12u3 or later to resolve the HTTPS Agent certificate collision vulnerability. This patch prevents unintended reuse of mTLS client certificates across different connection contexts, ensuring each request uses the correct certificate identity. Verify the update is applied before resuming production services that rely on mutual TLS authentication.

sudo dnf update nodejs

Defensia detects this vulnerability

How to check if you are affected

  1. Run `node --version` to check the currently installed Node.js version; vulnerable versions are 26.0.0–26.5.0, 24.x, and 22.x below the fix
  2. Review your application's HTTPS Agent configuration by searching source code for `https.Agent` and `pfx` or `cert`/`key` parameters to identify if mTLS is enabled
  3. Search application and proxy logs for multiple requests from the same connection with different TLS certificate subjects using `grep -i 'subject=' /var/log/app.log | sort | uniq -c` to detect certificate reuse patterns
  4. Confirm the patch by running `node --version` again after updating; the version should be 18.20.4 or higher, and verify `npm list` shows the correct nodejs package version installed

FAQ

What is CVE-2026-56850?

This vulnerability allows Node.js HTTPS Agent to incorrectly reuse the same mTLS client certificate across multiple requests that should have used different certificates. The flaw stems from how the agent caches connections using PFX objects, causing certificate identity confusion when multiple client identities are configured.

Is CVE-2026-56850 being actively exploited?

No, CVE-2026-56850 is not currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are available. However, the vulnerability poses a serious risk to applications handling sensitive mTLS-authenticated connections and should still be prioritized for patching.

What versions of Node.js are affected by CVE-2026-56850?

Node.js versions 26.0.0 through 26.5.0, and earlier versions in the 24.x and 22.x release lines are affected. The fix is available in version 18.20.4+dfsg-1~deb12u3 and later releases.

How do I check if my server is vulnerable to CVE-2026-56850?

Run `node --version` and compare the output against the affected ranges (22.x–24.x and 26.0.0–26.5.0). If your version falls within these ranges, your server is vulnerable. Also verify that your Node.js application uses HTTPS Agent with mTLS by checking your codebase for `https.Agent` and `pfx` configuration.

Does Defensia detect CVE-2026-56850?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Node.js is installed on a monitored server, CVE-2026-56850 will appear in your dashboard with remediation steps.

Related Node.js CVEs

CVE-2026-21636CVSS 10A flaw in Node.js's permission model allows Unix Domain Socket (UDS) connections to bypass network restrictions when `--permission` is enabled. Even without `--allow-net`, attacker-controlled inputs (such as URLs or socketPath options) can connect to arbitrary local sockets via net, tls, or undici/fetch. This breaks the intended security boundary of the permission model and enables access to privileged local services, potentially leading to privilege escalation, data exposure, or local code execution. * The issue affects users of the Node.js permission model on version v25. In the moment of this vulnerability, network permissions (`--allow-net`) are still in the experimental phase.
CVE-2026-111497CVSS 9.8A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli versions 1.0.3 through 1.2.0 on all platforms allows a remote unauthenticated attacker to corrupt adjacent decoder state memory, disclose sensitive memory contents, cause a denial of service, or potentially execute arbitrary code using a crafted Brotli-compressed stream. Users need to update any Brotli libraries or binaries between 1.0.3 through 1.2.0 to the latest available version: 1.0.10 or 1.1.1 or 1.2.1.
CVE-2026-48930CVSS 9.8A flaw in Node.js TLS hostname handling can cause Embedded-nul hostnames can lead to silent authority rebinding due to c-string truncation in resolver bindings. This vulnerability affects all supported release lines: **Node.js 22**, **Node.js 24**, and **Node.js 26**.
CVE-2025-55130CVSS 9.1A flaw in Node.js’s Permissions model allows attackers to bypass `--allow-fs-read` and `--allow-fs-write` restrictions using crafted relative symlink paths. By chaining directories and symlinks, a script granted access only to the current directory can escape the allowed path and read sensitive files. This breaks the expected isolation guarantees and enables arbitrary file read/write, leading to potential system compromise. This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.
CVE-2026-56846CVSS 9A flaw in Node.js HTTP/2 handling can cause HTTP/2 retained header blocks evade maxSessionMemory and enable remote memory exhaustion. This vulnerability affects Node.js **24.x** and **22.x**.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-56850. Free for 1 server.

Get started free