# CVE-2026-45556: Roxy-WI: Authenticated arbitrary file write on every managed load balancer (and downstream RCE) via WAF rule save `config_file_name`

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- 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): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-10T14:00:54.973Z
- Modified: 2026-06-17T10:52:11.997Z
- Weaknesses: CWE-20, CWE-22, CWE-73, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. In versions 8.2.6.4 and prior, POST /waf/<service>/<server_ip>/rule/<rule_id>/save accepts a config_file_name form field that is passed straight through to config_mod.master_slave_upload_and_restart(...) as the destination path. The validation chain (_replace_config_path_to_correct → check_is_conf) only requires the path to contain a hard-coded service substring (nginx/haproxy/apache2/httpd/keepalived) and the substring conf or cfg, and to not contain ... The encoded-slash substitution 92 → / is applied before the substring check, so the attacker can build any absolute path anywhere on the LB filesystem as long as it satisfies those substring constraints. The body of the WAF rule (config form field) is written verbatim to that path. By choosing a filename like 92etc92cron.d92nginx_cfg_evil (resolving to /etc/cron.d/nginx_cfg_evil), an attacker drops a cron entry on the load balancer with attacker-controlled content. Cron parses the file on its next scan, executing the embedded job as root — full RCE on every load balancer the caller's group manages. At time of publication, there are no publicly available patches.

(As written by CVE List.)

## Affected

- roxy-wi roxy-wi: <= 8.2.6.4

## References

- <https://github.com/roxy-wi/roxy-wi/security/advisories/GHSA-85gm-773v-x7m4> (exploit)

## Sources

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

---

Page: https://cve.day/CVE-2026-45556 · Whole record: https://cve.day/CVE-2026-45556.json · Rebuilt by cve.day 2026-11-25T22:59:24.328Z
