Join our Newsletter — 33% off our NHI Course

CGNAT

Carrier-grade NAT is a network translation layer used by ISPs to conserve IPv4 addresses by placing many customers behind shared public IPs. It often interferes with peer-to-peer connectivity because inbound reachability and stable port mapping become difficult to predict.

Expanded Definition

Carrier-grade NAT, or CGNAT, is a service-provider translation layer that lets an ISP share a limited pool of IPv4 addresses across many subscribers. In NHI and connectivity planning, it matters because the public source address seen by an application may not uniquely identify a device, workload, or operator session.

CGNAT is distinct from ordinary home-router NAT because it operates deeper in the provider network, often across large subscriber populations and with time-bound port mappings. That makes inbound reachability, peer-to-peer setup, and IP-based trust controls less predictable. In practice, CGNAT affects how systems expose agents, callback services, and remote access paths that depend on stable addressing. Definitions vary across vendors when they describe NAT traversal, session persistence, or “shared IP” behavior, so implementation teams should verify the provider’s actual port allocation and logging model rather than assume consistent behavior. For broader identity governance, Ultimate Guide to NHIs is useful context on why stable visibility matters, while the NIST Cybersecurity Framework 2.0 frames the need for asset and access clarity. The most common misapplication is treating a CGNAT address as a reliable identity signal, which occurs when allowlists or trust decisions are built on shared public IPs.

Examples and Use Cases

Implementing CGNAT-aware controls often introduces a visibility tradeoff, requiring organisations to balance IPv4 conservation and subscriber scale against weaker inbound traceability and more complex allowlisting.

  • A remote maintenance agent behind CGNAT cannot accept inbound connections reliably, so operators use outbound-only tunnels or rendezvous services instead.
  • An API gateway receives traffic from thousands of customers behind the same public IP, so IP reputation alone cannot distinguish one tenant from another.
  • A fraud team correlates session logs with additional signals such as device fingerprinting and authentication events because source IP is shared and unstable.
  • A service account calling back to a control plane fails when port mappings expire, prompting a shift to mutually authenticated outbound connections and NHI governance practices.
  • A security architect documents CGNAT behavior alongside NIST Cybersecurity Framework 2.0 controls to avoid false assumptions in network segmentation and monitoring.

In environments that expose machine-to-machine endpoints, CGNAT can also complicate troubleshooting because logs show the same public address for many distinct subscribers. That is especially relevant when callback URLs, partner integrations, or agent control channels rely on deterministic reachability. When the network path is not stable, the architecture must shift from address-based trust to identity-based trust.

Why It Matters in NHI Security

CGNAT matters because NHI security often depends on distinguishing one workload, agent, or integration from another, and shared IPs erase that simplicity. If teams use source IP as a proxy for identity, they risk over-permissive access, brittle firewall rules, and failed incident attribution. This is particularly dangerous for APIs, service accounts, and automation that need reliable callback behavior. NHIMG data shows that only 5.7% of organisations have full visibility into their service accounts, which means network ambiguity compounds an already limited view of machine identity. CGNAT is also relevant to zero trust design because it reinforces the need to authenticate every session instead of trusting network location. In operational terms, teams should map which systems are behind CGNAT, which controls depend on static public IPs, and where identity proofs must replace network assumptions. Organisations typically encounter the business impact only after a partner integration breaks, an allowlist fails, or an incident investigation cannot separate benign traffic from malicious activity, at which point CGNAT becomes operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and CSA MAESTRO address the attack and risk surface, while NIST CSF 2.0, NIST Zero Trust (SP 800-207) and NIST SP 800-63 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 PR.AC-1 CGNAT complicates identity and access decisions that rely on network location or source IP.
NIST Zero Trust (SP 800-207) SC-4 Shared carrier NAT undermines implicit trust in network path or address provenance.
OWASP Non-Human Identity Top 10 NHI-01 Machine identities behind CGNAT need deterministic authentication and traceability, not IP trust.
NIST SP 800-63 AAL2 When IP signals are unreliable, stronger authenticators become more important for session assurance.
CSA MAESTRO Agentic systems behind CGNAT need resilient outbound control channels and clear identity binding.

Design agent communications for outbound, identity-verified connectivity instead of inbound reachability.