A newly disclosed NatJack attack class exposes a foundational weakness in network address translation (NAT) infrastructure, enabling attackers to manipulate connection-tracking state to hijack TCP sessions, tamper with DNS traffic, disclose mapped ports, and deny network access to other users.
Presented by security researcher Malcolm Stagg at Black Hat USA 2026, NatJack is not limited to one vendor, operating system, or network appliance.
Instead, it targets longstanding trust assumptions embedded in NAT implementations: that hosts located behind the same translating device cannot maliciously alter each other’s connection state.
New NatJack NAT Attack
Testing reportedly found vulnerable behavior across 32 products and configurations, including routers, firewalls, cloud services, container platforms, and hypervisors.
NAT devices track active connections in state tables, mapping private internal IP addresses and ports to externally reachable ones.
NatJack abuses weaknesses in this state management to remove, replace, or interfere with mappings associated with another host’s active connection.
The attack class includes TCP hijacking via upstream and downstream spoofing, UDP DNS response hijacking, victim IP-and-port disclosure, and NAT table exhaustion.
Unlike ARP spoofing, NatJack can work even when the attacker and victim are separated by VLANs, subnets, or broadcast domains, provided they share a NAT boundary.
That means conventional Layer 2 segmentation and port isolation may not fully prevent attacks against shared NAT infrastructure. In one TCP-hijacking scenario, an attacker sends crafted packets that cause the NAT device to treat a victim’s active connection as closed.
The attacker can then establish a replacement mapping using the victim’s external address and port, potentially allowing interception, injection, or disruption of application-layer traffic. Long-lived HTTP connections are among the affected use cases described by researchers.
NatJack also introduces a path for manipulating UDP DNS responses. An attacker can interfere with a pending NAT mapping for a victim’s DNS query, redirect the legitimate response to an attacker-controlled system, and return a forged response to the victim.
This could enable redirection to malicious infrastructure where DNS integrity protections are absent. A separate denial-of-service technique can fill or exhaust NAT state tables with spoofed flows, preventing legitimate users from opening new connections.
Malcolm Stagg also documented a port-disclosure method that may reveal externally mapped ports in use information that can support more targeted session-manipulation attempts.
The risk is most relevant where trusted and untrusted systems share NAT infrastructure: corporate networks, multi-tenant cloud environments, Docker hosts, Kubernetes nodes, virtual-machine platforms, and serverless deployments.
Home routers may also be susceptible, although exploitation generally requires an attacker to already control a privileged or untrusted device behind the same router.
Mitigation
Two implementation-specific issues have received CVE identifiers: CVE-2026-56181 affects Windows NAT and Hyper-V configurations, while CVE-2026-63913 affects Linux Netfilter conntrack.
Linux fixes strengthen handling of crafted packets, but they do not eliminate the broader NatJack attack class.
Organizations should apply vendor updates, isolate untrusted workloads from trusted systems that share NAT devices, enable anti-spoofing controls such as IP Source Guard where feasible, and monitor NAT table utilization and anomalous SYN/RST activity.
Encrypting internal traffic with TLS and deploying authenticated DNS protections can also reduce the impact of successful interception or DNS manipulation. AWS says it has deployed enhanced TCP reset validation across the NAT Gateway and Network Load Balancer services.
Detect, investigate, and respond faster with in-browser data inspection from ANY.RUN. Gain complete phishing visibility to strengthen your SOC and reduce MTTR
