CVE-2026-45565

Roxy-WI: EscapedString validator skips its '..' block when stripping (root cause for several path-traversal/RCE vectors)

Published Jun 10, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. In versions 8.2.6.4 and prior, EscapedString (app/modules/roxywi/class_models.py:16-30) is the centralised Pydantic validator used on dozens of fields including SSH credential name, username, description, etc. Its if/elif/elif/else flow returns the metacharacter-stripped value without also enforcing the .. block. An attacker who appends a single ;, &, |, $, or backtick to a .. payload routes the value through the strip arm, where .. survives unblocked and the result is not shlex.quote()'d either. At time of publication, there are no publicly available patches.

Analysis

AI-generated

Technical impact

The EscapedString validator in Roxy‑WI versions 8.2.6.4 and earlier allows attackers to bypass the '..' sanitization block when they append characters such as ';', '&', '|', '$', or backtick to a path traversal string. Because the validator does not shlex‑quote the value, injected command components can be executed, giving the attacker remote code execution through the web interface.

Affected Systems

The vulnerability affects Roxy‑WI by roxy‑wi. All deployments running version 8.2.6.4 or any earlier release are impacted. No later versions are listed as affected.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity, and while the EPSS score is unavailable, the absence of a KEV listing does not diminish the potential impact. An attacker who can reach the Roxy‑WI web console can craft a malicious field containing a '..' traversal followed by a command separator, causing the system to execute arbitrary commands. The vulnerability is exploitable in a remote context without authentication beyond the web interface access required for the affected fields.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Roxy‑WI to the latest release where the EscapedString validator has been fixed.
  • Restrict the allowed input for fields that use EscapedString by removing or escaping special characters such as ';', '&', '|', '$', or backtick.
  • Limit access to the Roxy‑WI management console to trusted administrators via network segmentation or firewall rules.
  • Monitor application logs for unexpected command execution or path traversal attempts.

Generated by OpenCVE AI on June 10, 2026 at 17:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Roxy-wi
Roxy-wi roxy-wi
Vendors & Products Roxy-wi
Roxy-wi roxy-wi
Type Values Removed Values Added
Description Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. In versions 8.2.6.4 and prior, EscapedString (app/modules/roxywi/class_models.py:16-30) is the centralised Pydantic validator used on dozens of fields including SSH credential name, username, description, etc. Its if/elif/elif/else flow returns the metacharacter-stripped value without also enforcing the .. block. An attacker who appends a single ;, &, |, $, or backtick to a .. payload routes the value through the strip arm, where .. survives unblocked and the result is not shlex.quote()'d either. At time of publication, there are no publicly available patches.
Title Roxy-WI: EscapedString validator skips its '..' block when stripping (root cause for several path-traversal/RCE vectors)
Weaknesses CWE-117
CWE-20
CWE-22
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-117

    Improper Output Neutralization for Logs

  • CWE-20

    Improper Input Validation

  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 10, 2026, 6:47 PM
Reserved
May 12, 2026, 7:00 PM
Status
Deferred
Published
Jun 10, 2026, 4:17 PM
Modified
Jun 17, 2026, 10:52 AM