Vulnerability record · CVE-2022-31126 · published 6 July 2022
CVE-2022-31126: Roxy-wi unauthenticated remote code execution via options.py injection
Roxy Wi · Roxy Wi
Roxy-wi, an open source web interface for managing HAProxy, Nginx, Apache and Keepalived, contains an injection flaw (CWE-74) in /app/options.py. A remote, unauthenticated attacker can achieve code execution by sending a specially crafted HTTP request. All versions before 6.1.1.0 are affected, and no workarounds exist.
Description
Roxy-wi is an open source web interface for managing Haproxy, Nginx, Apache and Keepalived servers. A vulnerability in Roxy-wi allows a remote, unauthenticated attacker to code execution by sending a specially crafted HTTP request to /app/options.py file. This affects Roxy-wi versions before 6.1.1.0. Users are advised to upgrade. There are no known workarounds for this issue.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.8 with network reachability, no authentication, no user interaction, and full confidentiality, integrity and availability impact, plus very high EPSS.
What it is
Roxy-wi, an open source web interface for managing HAProxy, Nginx, Apache and Keepalived, contains an injection flaw (CWE-74) in /app/options.py. A remote, unauthenticated attacker can achieve code execution by sending a specially crafted HTTP request. All versions before 6.1.1.0 are affected, and no workarounds exist.
Impact
An attacker gains remote code execution on the Roxy-wi host with no credentials required, giving full compromise of the management server and any managed infrastructure it controls.
Attack surface
Reachable over the network via HTTP requests to /app/options.py; the CVSS vector (AV:N/PR:N/UI:N) confirms no authentication and no user interaction are needed.
Exploitation
Not listed in CISA KEV and no public exploit references are tagged, but EPSS is 0.52137 (99th percentile), indicating a high modeled likelihood of exploitation activity.
What to do
- Upgrade Roxy-wi to version 6.1.1.0 or later immediately.
- Restrict network access to the Roxy-wi web interface to trusted management networks or VPN only.
- Place the interface behind an authenticating reverse proxy or WAF and block direct access to /app/options.py from untrusted sources.
- Monitor the host for unexpected processes or outbound connections, since no workaround exists and compromise requires host rebuild.
Detection
- Inspect web server and application logs for anomalous or malformed requests to /app/options.py.
- Alert on unexpected child processes spawned by the Roxy-wi web service (e.g., shells, curl, wget).
- Monitor for outbound connections from the Roxy-wi host to unfamiliar external addresses.
- Review file integrity on the Roxy-wi installation directory for unauthorized modifications.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-mh86-878h-43c9 | Third Party Advisory |
| https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-mh86-878h-43c9 | Third Party Advisory |
Track CVE-2022-31126 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-31126), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.