Newly Unveiled NatJack Attack Class Exposes Vulnerabilities in NAT Systems
A recent disclosure has brought to light a new attack class known as NatJack, which unveils alarming weaknesses in the way Network Address Translation (NAT) is implemented across modern network infrastructures. This vulnerability allows malicious actors to hijack TCP connections, tamper with DNS responses, and disrupt the overall flow of traffic within networks.
NatJack specifically targets what is known as the NAT state table, challenging previously held assumptions regarding cooperative network behavior. In the current digital landscape, characterized by hostile and multi-tenant environments, traditional beliefs about secure boundary definitions have become increasingly obsolete. Consequently, NAT devices—previously regarded as protective barriers—can now serve as potential pivot points for attackers seeking unauthorized access and manipulation.
Understanding NatJack’s Mechanisms
NatJack encompasses a series of manipulation techniques aimed at the NAT table, enabling malicious individuals hidden behind a NAT device to interfere with ongoing traffic flows. By expertly crafting spoofed packets, attackers can alter or even replace NAT mappings in real-time. This means that traffic intended for a victim’s connection can be redirected seamlessly to an endpoint controlled by the attacker, all while the upstream server continues to perceive the connection as legitimate.
The versatility of NatJack allows for multiple malicious outcomes, including:
-
TCP Hijacking: Through downstream and upstream spoofing, attackers can take over existing connections.
-
UDP DNS Hijacking: Attackers can modify DNS responses, steering victims to malicious domains.
-
Information Disclosure: Attackers can leak external NAT port information associated with victim IP addresses.
- Denial of Service (DoS): NAT state corruption or the disconnection of active flows can cause significant service disruptions.
Moreover, these weaknesses facilitate the interception and modification of UDP DNS responses, allowing for disruptions in live sessions. This adds a layer of vulnerability that can lead to denial-of-service conditions for applications and services under attack.
A Systemic Design Flaw
Research emphasizes that NatJack is not confined to specific vendors; it represents a systemic design flaw impacting a wide array of network devices, including routers, firewalls, hypervisors, and cloud networking services that rely on NAT. So far, testing has revealed that all evaluated NAT-capable devices—from consumer-grade hardware to enterprise-level solutions—are susceptible to various facets of NatJack.
This includes container networking stacks, such as those used in Docker and Kubernetes, as well as hypervisor NAT implementations. The architecture of many of these platforms is premised on the assumption that internal tenants or workloads could be treated as mostly trustworthy. However, this assumption has been severely undermined in environments where compromised containers, virtual machines, or user devices can operate alongside sensitive services within the same NAT infrastructure.
Varied Risk Levels for Different Users
For home users, consumer-level routers may exhibit vulnerabilities at the implementation level. However, the actual risk is generally considered low. Exploiting these vulnerabilities typically necessitates access to an untrusted or already compromised device behind the same router with sufficient privileges to create crafted packets.
Conversely, enterprises, service providers, and cloud tenants face significantly higher risks. In typical network setups, untrusted user endpoints, internet-facing services, and critical internal systems often coexist behind shared routers, firewalls, NAT gateways, and load balancers. This architecture presents a valuable opportunity for attackers who manage to compromise any internal host or workload behind the NAT. Such threats can lead to interference with traffic from more sensitive systems, even if they are segregated by different subnets or VLANs.
Ongoing Mitigation Efforts
In response to the emergence of NatJack, several vendors have begun implementing partial mitigation measures. For instance, Microsoft has addressed a related issue in its Windows NAT implementation for Hyper-V scenarios via CVE-2026-56181. This update aims to lessen the possibility of downstream spoofing attacks in affected configurations. Similarly, the Linux kernel’s Netfilter subsystem has received updates under CVE-2026-63913, which rectify specific code vulnerabilities and introduce mitigations that complicate NAT state manipulation.
While these measures represent steps in the right direction, they do not constitute a comprehensive solution to the underlying issues. For instance, FreeBSD’s Packet Filter has undergone hardening in version 15.0, significantly reducing the potential for both types of spoofing attacks, yet still allowing room for enhancements.
Cloud providers, too, are acting to strengthen defenses against these threats. AWS has confirmed that it has reviewed and fortified its NAT Gateway and Network Load Balancer services, specifically targeting connection state validation and TCP reset handling to block manipulation patterns related to NatJack. According to AWS, successful exploitation would typically require an attacker to control an EC2 instance within the same Virtual Private Cloud (VPC) as the targeted connection, and sometimes necessitate cooperation from a spoof-capable external server. The implemented changes, however, are designed to neutralize these threats without necessitating action from customers.
Guidelines for Enhanced Security
In the broader context, organizations are advised to cease viewing NAT as a security control. They should promptly apply vendor updates, critically assess multi-tenant designs where untrusted and high-value workloads coexist, and enhance segmentation at the router, firewall, and node levels to mitigate the potential impact of any compromised tenant. The NatJack attack serves as a stark reminder of the vulnerabilities that can be exploited in modern network infrastructures, reinforcing the need for proactive security measures.

