Summary
CVE-2026-76008 is a critical, unauthenticated stack-based buffer overflow vulnerability affecting the Comfast CF-N1-S wireless access point/router, version 2.6.0.1. The flaw resides in the device’s web management CGI interface and can be triggered remotely over the network without any credentials, allowing an attacker to corrupt process memory and potentially execute arbitrary code on the device. The vulnerability has been assigned the maximum CVSS v3.1 base score of 10.0 (Critical).
Technical details
- Root cause: A stack-based buffer overflow (CWE-121) and associated memory corruption (CWE-119) in the
get_para_from_urifunction of the/cgi-bin/mbox-configCGI endpoint. - Trigger condition: The function fails to properly bound-check the
widthandheightURI parameters supplied to/cgi-bin/mbox-configbefore copying them into a fixed-size stack buffer. - Attack vector: Network-based (AV:N). The endpoint is reachable without authentication (PR:N) and requires no user interaction (UI:N), meaning an attacker with network access to the device’s management interface can exploit it directly by sending a crafted HTTP request.
- Impact: Successful exploitation can crash the CGI process (denial of service) or, depending on stack layout and mitigations present on the device, be leveraged to corrupt adjacent memory and potentially achieve arbitrary code execution, fully compromising confidentiality, integrity, and availability of the device.
Affected software
- Comfast CF-N1-S — firmware version 2.6.0.1
Severity
- CVSS v3.1 Base Score: 10.0 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: No official vendor patch has been identified at the time of publication. Organizations should check the Comfast support portal regularly for a firmware update addressing this issue and apply it as soon as it becomes available.
- If no patch is available:
- Restrict network access to the device’s web management interface (
/cgi-bin/mbox-config) to trusted management networks only; do not expose it to the internet. - Place affected devices behind a firewall or VPN, and disable remote/WAN-side administration if supported.
- Monitor management interfaces for anomalous or malformed requests to
/cgi-bin/mbox-config, particularly those containing unusualwidth/heightparameter values. - Consider isolating or replacing affected devices in security-sensitive environments until a fix is released, given the unauthenticated, network-exploitable nature of this flaw.
- Restrict network access to the device’s web management interface (

