Summary
An OS command injection vulnerability (CWE-78/CWE-77) was found in TRENDnet TEW-821DAP firmware 1.12B01, in the icp_upload_img function of /icp_upload_img.cgi (Internal Captive Portal component). Manipulating the filename argument allows an attacker to execute arbitrary commands on the device.
Per the CVSS vector (9.1, critical), the attack is network-based, low complexity and requires no user interaction, but does require high (administrative) privileges on the device. Scope is changed, and successful exploitation results in full compromise of confidentiality, integrity and availability. A proof-of-concept exploit has been published. The vulnerability is not in the CISA KEV catalog; EPSS is about 3.3% (88th percentile).
The vendor did not respond to the disclosure, and no fixed version or workaround has been published.
Who is affected
Organizations using TRENDnet TEW-821DAP access points running firmware 1.12B01, especially where the management web interface is reachable or the captive portal is enabled.
What to do
- Check TRENDnet's official advisories for any fixed firmware version, as none is listed in the record.
- Restrict access to the device management web interface to a dedicated management network or trusted IPs; never expose it to the internet.
- Set strong, unique administrator passwords and review who has admin access, since exploitation requires high privileges.
- If the Internal Captive Portal is not needed, consider disabling it, and monitor device logs and traffic for unusual activity.
- Given the vendor's lack of response, consider replacing the device with a supported model.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H/E:P/RL:X/RC:C
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Administrator
- User interaction
- Not required
- Scope
- Affects other components
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
References
- vuldb.com/vuln/448235
- vuldb.com/vuln/448235/cti
- vuldb.com/cve/CVE-2026-142708
- vuldb.com/submit/1074222
- github.com/yegeg/TEW-821DAP-cves/tree/main/03-icp-filename-command-injection
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.