CVE-2026-15511 Details
Description
A vulnerability was determined in Comfast CF-WR631AX V3 up to 2.7.0.8. Affected by this vulnerability is the function system_wl_upload_pic_file of the file /usr/bin/webmgnt of the component FastCGI Backend. This manipulation of the argument filename causes os command injection. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.
A command injection vulnerability has been identified in the Comfast CF-WR631AX V3 router, running firmware versions through 2.7.0.8. The issue resides in the FastCGI backend of the web management interface, specifically within the 'system_wl_upload_pic_file' handler. This vulnerability allows for remote code execution by manipulating the 'filename' argument in image upload requests. The absence of input validation, authentication checks, and proper JSON field schema validation enables exploitation of this flaw.
To address this vulnerability, Comfast should implement input validation in the 'system_wl_upload_pic_file' handler by introducing a whitelist for acceptable characters in filenames, restricting length to 128 characters, and allowing only specific image file extensions. Additionally, the command execution pattern should be replaced with a direct file operation using the 'rename' system call, eliminating the risks associated with shell command parsing. This fix should be applied to all similar command injection vulnerabilities within the web management FastCGI backend.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 12, 2026CISA-ADP
Assessed Jul 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/luminarydawn/cve/tree/main/Command%20Injection%20in%20Comfast%20CF-WR631AX%20V3%20%E2%80%94%20WiFi%20Portal%20Image%20Upload%20(CWE-78) | [email protected] | ExploitRemedyTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-15511 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/846719 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/377840 | [email protected] | BundlePermission Required |
| https://vuldb.com/vuln/377840/cti | [email protected] | AdvisoryContent Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Comfast CF-WR631AX | <= 2.7.0.8 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 14, 2026 | CVE Modified | CISA-ADP |
| Jul 12, 2026 | New CVE Received | [email protected] |
Volerion