criticalZero-Day

TRENDnet TEW-821DAP NTP Timezone Configuration Stack-Based Buffer Overflow

First seen Aug 23, 2026 · Updated Aug 23, 2026 · CVSS 10

iotrouterbuffer-overflowremote-code-executiontrendnetcgiunauthenticatedpublic-exploit

A critical stack-based buffer overflow vulnerability exists in TRENDnet TEW-821DAP routers (firmware 2.2.01b05) within the NTP Timezone Configuration Handler's uci_safe_get function. The flaw is remotely exploitable without authentication via manipulated CGI parameters, and a public exploit is already available, making immediate exploitation likely.

Technical Analysis

CVE-2026-77946 affects the uci_safe_get function within /cgi-bin/apply_time.cgi, part of the NTP Timezone Configuration Handler on TRENDnet TEW-821DAP devices running firmware 2.2.01b05. Attackers can trigger a stack-based buffer overflow by manipulating parameters such as system.ntp.server, system.ntp.enable_server, cameo.time.time_zone, or cameo.cameo.syslog_server, potentially achieving arbitrary code execution on the device. The vulnerability is remotely exploitable and carries a maximum CVSS score of 10.0, with public proof-of-concept exploit code already disclosed, significantly lowering the barrier for mass exploitation and botnet incorporation. As with prior TRENDnet CGI vulnerabilities, exploitation typically leads to full device compromise, enabling traffic interception, network pivoting, or DDoS botnet recruitment (e.g., Mirai-style). This is a consumer/SMB network infrastructure flaw with no direct AI agent software impact, but organizations running AI agents or RAG pipelines on networks using this device as a gateway or access point could face man-in-the-middle traffic interception, exposing API keys, credentials, or model endpoints transmitted over the compromised network segment.

Affected Systems

TRENDnet TEW-821DAP wireless access point/router, firmware version 2.2.01b05 and potentially earlier versions sharing the same vulnerable CGI handler

Indicators of Compromise

  • Endpoint: /cgi-bin/apply_time.cgi
  • Exploited parameters: system.ntp.server, system.ntp.enable_server, cameo.time.time_zone, cameo.cameo.syslog_server
  • Note: No specific hashes, IPs, or malware samples disclosed in source data at time of publication

Remediation Steps

  1. 1

    Apply Firmware Update

    Check TRENDnet's official support portal for a patched firmware release addressing CVE-2026-77946 and apply it immediately once available.

  2. 2

    Restrict Remote Management Access

    Disable remote/WAN-facing administration of the device and restrict CGI-bin access to trusted internal networks only via firewall rules.

  3. 3

    Network Segmentation

    Isolate the affected device from critical network segments, including any hosts running AI agents, LLM tooling, or RAG pipelines, to limit lateral movement or traffic interception risk.

  4. 4

    Monitor for Exploitation Attempts

    Deploy IDS/IPS signatures targeting requests to /cgi-bin/apply_time.cgi with anomalous or oversized parameter values for the affected fields.

  5. 5

    Device Replacement Consideration

    If no patch is issued by TRENDnet, consider decommissioning or replacing the affected device given the maximum severity rating and public exploit availability.

CVE / Advisory IDs

CVE-2026-77946

Industries Most Exposed

Small and medium businessconsumer/home networkingretailhospitalityremote/branch office IT

Sources

Respond to this threat

Pro subscribers get a full AI-generated incident-response playbook for this threat — detection, containment, eradication, and recovery steps — plus an unlimited AI Threat Advisor for questions about your environment.