# CVE-2024-52010: Zoraxy has an authenticated command injection in the Web SSH feature

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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): 1.50%, higher than 75% of CVEs (2026-12-01)
- Published: 2024-11-12T16:06:31.719Z
- Modified: 2026-06-17T08:06:47.833Z
- Also known as: GHSA-7hpf-g48v-hw3j, GO-2024-3267
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Zoraxy is a general purpose HTTP reverse proxy and forwarding tool. A command injection vulnerability in the Web SSH feature allows an authenticated attacker to execute arbitrary commands as root on the host. Zoraxy has a Web SSH terminal feature that allows authenticated users to connect to SSH servers from their browsers. In HandleCreateProxySession the request to create an SSH session is handled. An attacker can exploit the username variable to escape from the bash command and inject arbitrary commands into sshCommand. This is possible, because, unlike hostname and port, the username is not validated or sanitized.

(As written by CVE List.)

## Affected

- tobychui zoraxy: >= 2.6.1, < 3.1.3
- github.com/tobychui/zoraxy (Go): from 2.6.1 before 3.1.3; before 3.1.3+incompatible

## Every score

- GitHub_M: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 0.0 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`

## References

- <https://github.com/tobychui/zoraxy/security/advisories/GHSA-7hpf-g48v-hw3j> (advisory, web)
- <https://github.com/tobychui/zoraxy/commit/2e9bc77a5d832bff1093058d42ce7a61382e4bc6> (fix, web)
- <https://github.com/tobychui/zoraxy/commit/c07d5f85dfc37bd32819358ed7d4bc32c604e8f0> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-52010> (advisory)
- <https://github.com/tobychui/zoraxy> (package)
- <https://pkg.go.dev/vuln/GO-2024-3267> (web)

## Sources

- CVE List: [CVE-2024-52010](https://www.cve.org/CVERecord?id=CVE-2024-52010), CVE Terms of Use, modified 2024-11-21
- GitHub Advisory Database: [GHSA-7hpf-g48v-hw3j](https://github.com/advisories/GHSA-7hpf-g48v-hw3j), CC-BY-4.0, modified 2024-11-19
- Go Vulnerability Database: [GO-2024-3267](https://pkg.go.dev/vuln/GO-2024-3267), CC-BY-4.0, modified 2024-11-19
- NVD: [CVE-2024-52010](https://nvd.nist.gov/vuln/detail/CVE-2024-52010), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-52010 · Whole record: https://cve.day/CVE-2024-52010.json · Rebuilt by cve.day 2026-11-25T22:58:48.100Z
