Threat reportVulnerabilityTL-2026-6959
Node.js http.Agent keep-alive connection reuse flaw (CVE-2026-105481) carried into Node.js 27.0.0-alpha.0.2.0; TLS 1.2 renegotiation deprecation (related CVE-2026-123872)
CVE-2026-105481 is a medium-severity Node.js http.Agent flaw in which a response already buffered on an idle keep-alive socket can be accepted as the response to a new request. It was fixed in 22.23.4, 24.22.1 and 26.12.1 (2026-10-21) and the fix is carried into Node.js 27.0.0-alpha.0.2.0 (2026-11-26), which also docs-deprecates TLS 1.2 renegotiation and adds an allowRenegotiation opt-in. First disclosed .
Key facts
| Identifiers | TL-2026-6959, CVE-2026-105481, CVE-2026-123872 |
|---|---|
| Severity | MEDIUM |
| CVSS | 6.5 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N) |
| First disclosed | |
| EPSS | CVE-2026-123872: 0.3% (30.3th percentile); CVE-2026-105481: 0.3% (24.8th percentile) |
| Affected products | OpenJS Foundation Node.js |
| Weaknesses (CWE) | CWE-367, CWE-287 |
| Malware | httpclient - S0068 |
| MITRE ATT&CK techniques | T1190 Exploit Public-Facing Application, T1212 Exploitation for Credential Access, T1557 Adversary-in-the-Middle, T1565.002 Transmitted Data Manipulation |
| Motivation | UNKNOWN |
| Target sectors | technology, software-development, cloud-services |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 10 cited sources |
Detection coverage
As of 2026-11-27, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6959 across Splunk SPL, Microsoft KQL and Sigma, covering 10 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: TLS 1.2 Renegotiation SNI Change on mTLS Connection (CVE-2026-123872) - Auth Bypass
Flags a single Node.js TLS connection that presented more than one servername across handshake and renegotiation while carrying a client certificate, the behaviour used by CVE-2026-123872 to carry mTLS authentication to a host with a stricter per-hostname policy (for example admin-only versus ordinary client-cert host). Maps to T1212 and T1211, and to T1078 because the attacker rides an already-authenticated client-certificate identity onto a stricter host. No exploitation is reported in the wild; this validates the abuse pattern. Requires an application-side TLS audit log (nodejs:tls_audit) emitting conn_id, servername, event and client_cert_fingerprint.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1212, T1211, T1078
- Data sources: nodejs_tls_audit, application_logs
- Severity: high
- Confidence: medium
Splunk SPL
index=app_logs sourcetype="nodejs:tls_audit" tls_version="TLSv1.2" (event="tls_handshake" OR event="tls_renegotiation")
| eval servername=lower(servername)
| stats earliest(_time) AS first_seen latest(_time) AS last_seen values(event) AS events values(servername) AS servernames dc(servername) AS sni_count values(client_cert_fingerprint) AS cert_fingerprints values(client_cert_subject) AS cert_subjects values(src_ip) AS src_ip BY host, conn_id
| where sni_count>1 AND isnotnull(mvfind(events,"tls_renegotiation")) AND isnotnull(cert_fingerprints)
| convert ctime(first_seen) ctime(last_seen)
| table first_seen last_seen host conn_id src_ip servernames cert_subjects cert_fingerprints sni_countMicrosoft KQL
NodeTlsAudit_CL
| where TimeGenerated > ago(24h)
| where TlsVersion_s == "TLSv1.2" and Event_s in ("tls_handshake", "tls_renegotiation")
| extend ServerName = tolower(ServerName_s)
| summarize Events = make_set(Event_s), ServerNames = make_set(ServerName), SniCount = dcount(ServerName), CertFingerprints = make_set(ClientCertFingerprint_s), CertSubjects = make_set(ClientCertSubject_s), SrcIps = make_set(SrcIp_s), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by Computer, ConnId_s
| where SniCount > 1 and array_index_of(Events, "tls_renegotiation") >= 0 and array_length(CertFingerprints) > 0
| project FirstSeen, LastSeen, Computer, ConnId_s, SrcIps, ServerNames, CertSubjects, CertFingerprints, SniCountSigma
title: Node.js TLS 1.2 Renegotiation With Changed SNI On mTLS Connection (CVE-2026-123872)
id: 8e4c2d17-5a93-4b6f-a1d0-2f7b9c35e648
status: experimental
description: Detects a TLS 1.2 renegotiation on a client-certificate-authenticated connection where the servername (SNI) differs from the original handshake, the behaviour abused to carry client-certificate authentication to a host with a stricter mTLS policy. Requires the application TLS audit log fields event, tls_version, servername_changed and client_cert_fingerprint.
references:
- https://nodejs.org/en/blog/vulnerability/november-2026-security-releases
author: Threadlinqs Team
date: 2026-11-27
tags:
- attack.credential-access
- attack.t1212
- attack.defense-evasion
- attack.t1211
- attack.privilege-escalation
- attack.t1078
- cve.2026.123872
logsource:
category: application
product: nodejs
service: tls_audit
detection:
selection:
event: 'tls_renegotiation'
tls_version: 'TLSv1.2'
servername_changed: true
filter_no_cert:
client_cert_fingerprint: ''
condition: selection and not filter_no_cert
falsepositives:
- Clients that legitimately renegotiate with a different SNI between hostnames sharing identical mTLS policy
level: highKnown false positives:
- Clients legitimately renegotiating between hostnames with identical mTLS policy
- Load-balancer connection reuse across SNI names
Tuning notes: Depends on an application-side audit log contract (index app_logs, sourcetype nodejs:tls_audit; JSON fields conn_id, servername, event, tls_version, client_cert_fingerprint); rename to match your onboarding. TLS 1.2 renegotiation is encrypted so network sensors cannot see it. Exclude hostname pairs with identical client-cert policy and raise priority when the new SNI is an admin-only host. Test with allowRenegotiation: false or --pending-deprecation in staging.
- Sentinel: Vulnerable [indicator].js Version Installed, Pinned or Pulled (CVE-2026-105481 / CVE-2026-123872) · unlock with TL Creds
- Sentinel: Admin-Only mTLS Host Accessed With Non-Allowlisted Client Certificate (CVE-2026-123872) · unlock with TL Creds
- Sentinel: [indicator].js Direct-To-IP Egress To Public Upstream (Rogue Upstream Hunt, CVE-2026-105481) · unlock with TL Creds
- Sigma: [indicator].js Cleartext HTTP Egress To Public Host (CVE-2026-105481 Exposure) · unlock with TL Creds
- Sigma: [indicator].js Launched With Renegotiation / Keep-Alive Agent Options (Hunt) · unlock with TL Creds
- Sigma: Repeated TLS 1.2 Renegotiation On One [indicator].js Connection (CVE-2026-123872 Probing) · unlock with TL Creds
- Vulnerable [indicator].js Runtime Executing (CVE-2026-105481 / CVE-2026-123872) - Exploitation Exposure · unlock with TL Creds
- [indicator].js Keep-Alive Response Mismatch / Idle Socket Data (CVE-2026-105481) - Response Spoofing · unlock with TL Creds
Indicators of compromise
As of 2026-11-27, Threadlinqs Intelligence tracks 10 indicators of compromise for TL-2026-6959.
Technical analysis
A separate high-severity TLS 1.2 renegotiation flaw, CVE-2026-123872, was fixed on 2026-11-11.
CVE-2026-105481 (Node.js rating: medium; Red Hat: Moderate, CVSS 6.5, CWE-367) affects the HTTP client connection reuse logic of http.Agent. Per the Node.js October 2026 security release advisory, the guard that destroys idle keep-alive sockets when unexpected data arrives only runs when the event loop polls for I/O. If an unsolicited response is already buffered on the socket at the moment it is handed to a new request, the client parses it as the response to that request. The advisory describes this as an incomplete fix of the earlier CVE-2026-48931. Practical exploitation requires a client that uses an http.Agent with keep-alive (the default for the global agent) and a peer able to write to the connection, such as a malicious or compromised upstream server (per HeroDevs). The advisory credits Hasan Flayyih Abdullah as reporter. Affected lines per Node.js: 22.x, 24.x, 26.x; fixes shipped in v22.23.4, v24.22.1 and v26.12.1 on or shortly after 2026-10-21. The fix checks for pending data before handing a socket to another request and discards the connection if unread data is waiting (per GBHackers).
Node.js 27.0.0-alpha.0.2.0, released 2026-11-26, carries the correction forward; GBHackers states it introduces no new disclosure and that production deployments do not need to move to Node.js 27 to obtain the fix. The same alpha contains the notable change '(SEMVER-MINOR) tls: docs-deprecate TLS renegotiation, add allowRenegotiation opt-in' (commit 4f880d0604, PR #67532, by Tim Perry). Per GBHackers, renegotiation remains enabled by default; applications can set allowRenegotiation: false in tls.createServer() or tls.connect() to test behaviour, and --pending-deprecation can surface warnings in staging. TLS 1.3 does not support renegotiation.
The related CVE-2026-123872 (Node.js rating: high; Red Hat/third-party trackers list CVSS 8.1, CWE-287) was fixed in the 2026-11-11 security releases (v22.23.5, v24.22.3, v26.13.1). A client can change the servername during TLS 1.2 renegotiation and carry existing client-certificate authentication over to a host with a stricter per-hostname policy; the advisory's example is an admin-only client-cert host versus an ordinary client-cert host. Exposure per Red Hat requires Node.js terminating TLS directly across multi-tenant hostnames with heterogeneous mutual-TLS policies on TLS 1.2. Reporter: pimterry. No source reports in-the-wild exploitation, a public PoC, IOCs, or attribution for either CVE. NVD analysis was pending for CVE-2026-105481 at the time of the sources reviewed. Note: the hunt record's severity (MEDIUM) reflects CVE-2026-105481; CVE-2026-123872 is rated high by the Node.js project.
MITRE ATT&CK techniques by tactic:
Initial Access
T1190 Exploit Public-Facing Application
Credential Access
T1212 Exploitation for Credential Access; T1557 Adversary-in-the-Middle
Impact
Remediation
Patches
- Node.js v22.23.4, v24.22.1, v26.12.1 (CVE-2026-105481)
- Node.js v22.23.5, v24.22.3, v26.13.1 (CVE-2026-123872)
- Fix also present in Node.js 27.0.0-alpha.0.2.0 (pre-release, not for production)
Immediate actions
- Upgrade Node.js to 22.23.4 or later, 24.22.1 or later, or 26.12.1 or later to fix CVE-2026-105481
- Upgrade to 22.23.5, 24.22.3 or 26.13.1 (or later) to fix CVE-2026-123872
- Inventory services that use http.Agent with keep-alive (the global agent default) to untrusted or third-party upstreams
Workarounds
- Restrict outbound keep-alive pools to trusted backends or disable keep-alive/connection reuse to untrusted hosts (Red Hat, HeroDevs)
- Enforce TLS 1.3 or terminate TLS at a reverse proxy to avoid CVE-2026-123872 exposure (Red Hat)
Longer-term hardening
- Plan TLS 1.3 adoption; TLS 1.3 has no renegotiation
- Test applications with allowRenegotiation: false and --pending-deprecation in staging to find dependencies on TLS 1.2 renegotiation
Affected and fixed versions
- OpenJS Foundation — Node.js
Vulnerable versions: 22.x before 22.23.4; 24.x before 24.22.1; 26.x before 26.12.1 (CVE-2026-105481); 22.x before 22.23.5; 24.x before 24.22.3; 26.x before 26.13.1 (CVE-2026-123872)
Fixed in: 22.23.4; 24.22.1; 26.12.1; 22.23.5; 24.22.3; 26.13.1
Timeline
- CVE-2026-105481 disclosed in the Node.js advisory; reporter credited as Hasan Flayyih Abdullah, fix by jasnell
- Node.js October 2026 security releases ship v22.23.4, v24.22.1 and v26.12.1, fixing CVE-2026-105481 (medium), an incomplete fix of CVE-2026-48931
- HeroDevs vulnerability directory publishes its entry for CVE-2026-105481 (fix date listed as 2026-10-21; fixed versions 22.23.4, 24.22.1, 26.12.1), documenting that upstream releases before 22.23.0, 24.17.0 and 26.3.1 never received the earlier CVE-2026-48931 guard
- Node.js November 2026 security releases (v22.23.5, v24.22.3, v26.13.1) fix 16 flaws including CVE-2026-123872 (high), TLS 1.2 renegotiation servername change bypassing client certificate authentication; reporter pimterry
- Node.js 27.0.0-alpha.0.2.0 released, carrying the http.Agent fix forward and docs-deprecating TLS 1.2 renegotiation with an allowRenegotiation opt-in (commit 4f880d0604, PR #67532)
- GBHackers publishes coverage of the Node.js 27 alpha, the HTTP fix and the TLS renegotiation opt-in
Sources cited
- Red Hat CVE-2026-105481 access.redhat.com · Advisory
- Red Hat CVE-2026-123872 access.redhat.com · Advisory
- Node.js October 2026 Security Releases nodejs.org · Vendor report · 2026-10-21
- Node.js November 2026 Security Releases nodejs.org · Vendor report · 2026-11-11
- Node.js v27.0.0-alpha.0.2.0 release notes nodejs.org · Vendor report · 2026-11-26
- HeroDevs vulnerability directory: CVE-2026-105481 herodevs.com · Research
- Node.js HTTP Agent Connection Reuse Spoofing (stack.watch) stack.watch · Research
- Node.js 27 Alpha Released With HTTP Vulnerability Fix and TLS Renegotiation Opt-In gbhackers.com · News · 2026-11-27
- GBHackers: Node.js patches 10 security vulnerabilities (October coverage) gbhackers.com · News
- GBHackers: Node.js patches 16 security vulnerabilities (November coverage) gbhackers.com · News
Other reports on CVE-2026-105481
Other reports on CVE-2026-123872
Previous and next in vulnerability
Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated —.