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.
References
| Link | Resource |
|---|---|
| https://github.com/HKUDS/OpenHarness/commit/dd1d235450dd987b20bff01b7bfb02fe8620a0af | Patch |
| https://github.com/HKUDS/OpenHarness/pull/127 | Exploit Issue Tracking |
| https://www.vulncheck.com/advisories/openharness-remote-administrative-command-injection-via-gateway-handler | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-04-16 01:16
Updated : 2026-07-14 21:16
NVD link : CVE-2026-40502
Mitre link : CVE-2026-40502
CVE.ORG link : CVE-2026-40502
JSON object : View
Products Affected
hkuds
- openharness
CWE
CWE-862
Missing Authorization
