Summary
CVE-2026-122013 is a critical path traversal vulnerability (CWE-22) in the multipart parser of the web management backend (/usr/bin/webmgnt) on the Comfast CF-WR632AX Wi-Fi 6 router. A remote, unauthenticated attacker can write files to arbitrary locations on the device. The CVSS v3.1 base score is 10.0 (Critical). A public proof-of-concept write-up exists.
Technical details
- Root cause: The
filenamevalue in the multipartContent-Dispositionheader is not sanitized. The filename check only looks for an image extension substring (.png,.jpg,.jpeg) and ignores/and... The filename is then concatenated into a path (/tmp/img/<filename>) and written to disk. - Vulnerable endpoint:
/cgi-bin/mbox-config?method=SET§ion=system_upload_file, per the public write-up. - Authentication: None required. The file is written before the authentication check runs. The device returns an "Access denied" error (
errCode -32002), but the file is still written. - Trigger conditions: The attacker must be able to reach the management interface. This is typically the LAN, or the WAN if remote management is enabled. The filename must contain an image-extension substring, and
../sequences work. - Impact: Arbitrary file write as root. The public write-up says this can lead to remote code execution (for example by overwriting startup scripts or installing SSH keys), configuration tampering, and full device compromise.
- Exploit status: The CVE record lists the exploit maturity as proof-of-concept. Details are public.
Affected software
- Comfast CF-WR632AX, firmware version 2.6.0.1 (the only version listed in the CVE record)
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/E:P/RL:X/RC:C - CVSS v4.0 score: 10.0
Mitigation and recommended actions
- Immediate: I found no vendor advisory or patched firmware version in the sources reviewed. Check with Comfast for updated firmware and apply it when one is available.
- Workarounds:
- Do not expose the web management interface to the internet. Disable WAN-side remote management.
- Restrict management access to a trusted, isolated management network or VLAN, and block it with firewall rules.
- Monitor affected devices for unexpected files, startup script changes, or new SSH keys.
- If a device cannot be secured, consider replacing it.

