What’s Vulnerable › Vulnerabilities
CVE-2026-40502: OpenHarness Remote Administrative Command Injection via Gateway Handler
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-16 · updated 2026-10-26
- Weakness: CWE-862
Description
OpenHarness prior to commit dd1d235 contains a command injection vulnerability that allows remote gateway users with chat access to invoke sensitive administrative commands by exploiting insufficient distinction between local-only and remote-safe commands in the gateway handler. Attackers can execute administrative commands such as /permissions full_auto through remote chat sessions to change permission modes of a running OpenHarness instance without operator authorization.
Affected products
- HKUDS OpenHarness: before 2026-04-13 — fixed in 2026-04-13
How to fix
Upgrade to a fixed version: HKUDS OpenHarness 2026-04-13. Check the vendor advisory for mitigations.
References
- https://github.com/HKUDS/OpenHarness/commit/dd1d235450dd987b20bff01b7bfb02fe8620a0af
- https://github.com/HKUDS/OpenHarness/pull/127
- https://www.vulncheck.com/advisories/openharness-remote-administrative-command-injection-via-gateway-handler
Get alerted when CVE-2026-40502 or the next vulnerability affects your stack