By NHI Mgmt Group Editorial TeamDomain: Breaches & IncidentsSource: CYCOGNITOPublished March 19, 2026

TL;DR: CVE-2026-32746 is a critical out-of-bounds write in GNU Inetutils telnetd that can be reached during Telnet option negotiation before authentication, creating a pre-auth remote code execution risk for exposed services, according to CYCOGNITO. The exposure problem is less about Telnet itself than about unmanaged internet-facing assets and weak segmentation that let legacy services remain reachable long after they should have been retired.


At a glance

What this is: CVE-2026-32746 is a pre-authentication remote code execution vulnerability in GNU Inetutils telnetd caused by an out-of-bounds write during Telnet option negotiation.

Why it matters: It matters because internet-facing legacy services can turn a single parsing flaw into full host compromise, and identity teams still need to understand where exposed admin surfaces bypass modern access controls.

By the numbers:

👉 Read CYCOGNITO's analysis of CVE-2026-32746 and exposed telnetd risk


Context

CVE-2026-32746 is a good example of how a classic network service can become a high-impact exposure when it is left internet-facing and poorly segmented. The issue sits in GNU Inetutils telnetd, where malformed option negotiation can trigger an out-of-bounds write before authentication, so the control gap is not just patching but also asset visibility, service retirement, and access-path reduction.

For identity and access programmes, the lesson is that not every high-risk access path is an IAM policy problem. Legacy administrative channels such as Telnet often sit outside modern federation, MFA, and privileged access workflows, which means exposure control depends on hardening, containment, and decommissioning rather than user-centric authentication alone.


Key questions

Q: What breaks when a legacy service like telnetd is left internet-facing?

A: The main failure is that the network service becomes the attack boundary itself. If telnetd is reachable from untrusted networks, an attacker can target protocol parsing before authentication, which means password controls and MFA never get a chance to help. The practical response is to remove exposure, not to rely on compensating login controls.

Q: Why do pre-auth service flaws create such a high compromise risk?

A: Pre-auth flaws let an attacker trigger code paths before the application establishes trust. That reduces the attacker's work and bypasses most account-based controls, including privileged access workflows. When the vulnerable service is internet-facing, the risk is direct host compromise rather than a normal login abuse case.

Q: How do security teams know whether exposed legacy services are actually under control?

A: They need a complete inventory of externally reachable services, proof of ownership, and evidence that the protocol is still required. If TCP/23 is open, telnetd is present, and no retirement plan exists, the service is effectively uncontrolled. External scanning and asset attestation should be part of the governance loop.

Q: Who is accountable when a pre-auth legacy service is left exposed?

A: Accountability usually sits with the system owner, the infrastructure team, and the security function that governs exposure management. For regulated environments, that also extends to risk and control owners who must prove that legacy services are inventoried, segmented, or removed. Ownership without retirement evidence is not sufficient.


Technical breakdown

How telnet option negotiation turns into memory corruption

Telnet is an old text-based protocol that negotiates capabilities before a session is fully established. In this case, the vulnerable add_slc logic in GNU Inetutils telnetd fails to check whether the destination buffer is already full before writing additional data in the LINEMODE SLC suboption handler. That creates an out-of-bounds write, which is a memory corruption condition that can overwrite adjacent memory and potentially redirect execution flow. Because the flaw is reachable during negotiation, an attacker does not need valid credentials first.

Practical implication: remove or isolate Telnet services instead of assuming authentication will contain protocol-level memory corruption.

Why pre-auth remote code execution is especially dangerous on exposed services

Pre-auth RCE means the attack path exists before any login boundary is enforced. That matters because network-reachable services with no user interaction create a very small attacker workload: find the service, send malformed negotiation input, and trigger the bug. In legacy Linux and Unix-like environments, telnetd often sits on hosts that also carry administrative trust, embedded function, or operational dependencies. Once code execution is achieved, the attacker inherits whatever local privileges the service process has and can pivot from there.

Practical implication: treat pre-auth services as direct host-exposure issues and prioritise containment over account-based compensating controls.

Why asset exposure, not just patch status, determines real risk

A vulnerability only becomes operationally serious when the affected service is reachable from untrusted networks. The article notes that exposure is concentrated in internet-facing Linux or Unix-like systems with TCP/23 open, often in forgotten transitional infrastructure, lab systems, or embedded deployments. That means vulnerability management must be tied to external exposure discovery, service ownership, and decommissioning evidence. Patching unknown or unreached instances does not reduce risk if the service remains openly reachable.

Practical implication: map every externally reachable Telnet instance, confirm the implementation, and reduce exposure before relying on patch cycles.


Threat narrative

Attacker objective: The attacker wants unauthenticated code execution on a reachable telnetd host so they can seize the system before defenders detect the exposure.

  1. Entry occurs when an attacker reaches an internet-facing GNU Inetutils telnetd service and sends crafted Telnet option negotiation traffic.
  2. Escalation follows the out-of-bounds write in the LINEMODE SLC handler, which can corrupt memory before authentication completes and enable remote code execution.
  3. Impact is full compromise of the exposed host, with the attacker able to run code on legacy administrative or embedded systems and pivot into adjacent infrastructure.

Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Pre-auth legacy service exposure is a governance problem, not just a vulnerability problem. When a service like telnetd remains reachable from the internet, the real failure is the absence of service retirement discipline and boundary control. Patch management alone cannot compensate for a protocol that should no longer be exposed on untrusted networks. Practitioners should treat legacy administrative channels as lifecycle assets that require ownership, inventory, and enforced removal.

Standing network reachability creates a shorter attacker path than most identity controls can absorb. Telnet bypasses the MFA and federation logic that dominates modern access design because it was never built around those control assumptions. That makes segmentation, allowlisting, and verified decommissioning the only meaningful defensive layers until the service is removed. Teams should assume that any open TCP/23 exposure is a direct compromise candidate.

External exposure discovery is the named concept this vulnerability illustrates. The control gap is not merely “unknown vulnerability on a host” but a lack of visibility into which systems are externally reachable and what protocol they expose. That is especially relevant in environments where admin surfaces are inherited, embedded, or temporarily retained. The practical conclusion is that asset visibility and service reachability checks must precede remediation planning.

Legacy protocol risk sits at the edge of IAM, PAM, and infrastructure security. Even though the flaw is not an identity bug, it affects how privileged operations are delivered and protected. Where telnetd still exists, it represents a privileged access path without modern session controls, which makes it a PAM-adjacent risk. Security programmes should re-evaluate whether any remaining privileged workflows still depend on unauthenticated network services.

The exposure pattern shows why remediation timing must be tied to external discoverability. Once a service is internet-reachable, the attack window is defined by what the attacker can see, not by internal patch queues. That is why exposed legacy services should be prioritised alongside identity-critical assets. The field should read this as a reminder that lifecycle governance and network exposure management are inseparable.

From our research:

  • 80% of identity breaches involved compromised non-human identities such as service accounts and API keys, according to the Ultimate Guide to NHIs.
  • Only 5.7% of organisations have full visibility into their service accounts, which is why exposure discovery and ownership mapping remain weak.
  • Forward-looking: Explore 52 NHI Breaches Analysis for the recurring control failures that let unmanaged access persist.

What this signals

External exposure discovery will matter more than static vulnerability counts in legacy service environments. If teams cannot prove which protocols are reachable from outside, patch status alone will not meaningfully reduce attack surface. That is especially relevant where privileged workflows still depend on older management channels and where identity governance has never been extended to infrastructure endpoints.

Legacy administration paths should be treated as controlled identity surfaces, not just ports and daemons. The practical shift is to tie asset inventory, segmentation, and privileged access reviews together so that open management services cannot sit outside governance. NHI Mgmt Group's view is that unmanaged access paths are the hidden bridge between infrastructure risk and identity risk.

For teams aligning to NIST SP 800-207 Zero Trust Architecture, this case reinforces the need to remove trust from transport, not just users. Network services that predate modern authentication assumptions should not be allowed to inherit implicit trust from their location. Practitioners should prioritise reachability reduction and protocol retirement over trying to secure old access paths indefinitely.


For practitioners

  • Disable Telnet at the service layer Remove telnetd wherever it is still enabled and replace any remaining remote administration use with SSH or another authenticated management channel. If removal is not immediately possible, restrict the service to trusted management networks only and document the business exception.
  • Block TCP/23 at every external edge Add firewall, security group, and segmentation rules that prevent inbound TCP/23 from untrusted networks, then verify the block with external scanning from outside the perimeter. A port left open is a live exploit path even when the host is otherwise hardened.
  • Confirm the exact telnetd implementation Inventory every exposed Telnet endpoint and verify whether it is GNU Inetutils or a different server implementation before assuming exposure. Package name alone is not enough, because the vulnerable path is specific to inetutils telnetd through version 2.7.
  • Prioritise internet-facing legacy hosts first Classify exposed telnetd assets as high priority if they are on admin networks, lab systems, embedded platforms, or transitional infrastructure. These are the environments most likely to retain forgotten services and least likely to have clean ownership.

Key takeaways

  • CVE-2026-32746 is dangerous because it turns a pre-auth Telnet negotiation bug into remote code execution on exposed GNU Inetutils telnetd hosts.
  • The operational risk is amplified when legacy administration services remain internet-facing, segmented poorly, or forgotten inside transitional infrastructure.
  • The decisive control is not account hardening but exposure reduction, service retirement, and verified blocking of TCP/23 at the edge.

Standards & Framework Alignment

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

MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5, CIS Controls v8 and NIST-800-207 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKTA0001 , Initial Access; TA0004 , Privilege Escalation; TA0040 , ImpactThe flaw enables unauthenticated entry and host compromise through exposed telnetd.
NIST CSF 2.0PR.AC-3Access control depends on restricting externally reachable administration paths.
NIST SP 800-53 Rev 5AC-4System and information flow control is central to blocking untrusted Telnet reachability.
CIS Controls v8CIS-12 , Network Infrastructure ManagementNetwork exposure management is the main control issue in exposed telnetd environments.
NIST-800-2073.1Zero Trust emphasises removing implicit trust from network location and legacy transport paths.

Map exposed telnetd instances to initial access and escalation tactics, then remove the reachable service path.


Key terms

  • Pre-authentication Code Execution: Code execution that occurs before a request is authenticated or rejected. In practice, it means the service can run attacker-controlled logic while still believing it is only processing input, which collapses the usual protection offered by login or authorization checks.
  • Out-of-Bounds Write: An out-of-bounds write occurs when software writes data outside the bounds of an allocated memory region. In security terms, it is a memory-safety failure that can corrupt state, crash a process, or create conditions for deeper compromise depending on the code path.
  • Legacy administration surface: An older remote management interface that remains available even after modern access methods exist. These surfaces often sit outside current identity controls, making exposure reduction, segmentation, and retirement the primary defensive measures.

What's in the full article

CYCOGNITO's full article covers the operational detail this post intentionally leaves for the source:

  • Affected-version and package-status references across Debian and Ubuntu release branches
  • Exposure patterns across Consumer Discretionary, Industrials, and the long tail of other sectors
  • Practical containment guidance for internet-reachable telnetd instances while fixes are evaluated
  • The platform's emerging threat advisory context and detection work around CVE-2026-32746

👉 CYCOGNITO's full article covers the exposure patterns, package status, and containment guidance.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity, and secrets management in the context of modern access control. It helps practitioners connect identity lifecycle discipline to broader security operations and risk management.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 20, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org