# CVE-2022-31161: Roxy-WI Vulnerable to Unauthenticated Remote Code Execution via ssl_cert Upload

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 28.1%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-07-15T00:00:00.000Z
- Modified: 2026-06-17T04:44:56.210Z
- Weaknesses: CWE-77, CWE-94, CWE-434
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Roxy-WI is a Web interface for managing HAProxy, Nginx and Keepalived servers. Prior to version 6.1.1.0, the system command can be run remotely via the subprocess_execute function without processing the inputs received from the user in the /app/options.py file. Version 6.1.1.0 contains a patch for this issue.

(As written by CVE List.)

## Affected

- hap-wi roxy-wi: < 6.1.1.0
- roxy-wi roxy-wi: before 6.1.1.0

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <http://packetstormsecurity.com/files/171652/Roxy-WI-6.1.1.0-Remote-Code-Execution.html> (exploit)
- <https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-pg3w-8p63-x483> (third-party-advisory)
- <https://github.com/hap-wi/roxy-wi/releases/tag/v6.1.1.0> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2022-31161](https://www.cve.org/CVERecord?id=CVE-2022-31161), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-31161](https://nvd.nist.gov/vuln/detail/CVE-2022-31161), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31161 · Whole record: https://cve.day/CVE-2022-31161.json · Rebuilt by cve.day 2026-11-25T22:58:12.982Z
