High severity · published Apr 16, 2026
CVE-2026-40502
OpenHarness Remote Administrative Command Injection via Gateway Handler
8.8
CVSS
1.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.7% · higher than 77% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OP
OpenHarness · HKUDS
before dd1d235450dd987b20bff01b7bfb02fe8620a0af · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-40502
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-40502
Patch
https://github.com/HKUDS/OpenHarness/commit/dd1d235450dd987b20bff01b7bfb02fe8620a0af
Exploit
https://github.com/HKUDS/OpenHarness/pull/127
Third Party Advisory
https://www.vulncheck.com/advisories/openharness-remote-administrative-command-injection-via-gateway-handler
More from OpenHarness
8.8
CVE-2026-7551
HKUDS OpenHarness Remote Command Execution via /bridge Slash Command
8.8
CVE-2026-6819
HKUDS OpenHarness Plugin Management Command Exposure
8.2
CVE-2026-6823
HKUDS OpenHarness Insecure Default Remote Channel Allowlist
7.6
CVE-2026-6729
HKUDS OpenHarness Session Key Collision Privilege Escalation
7.1
CVE-2026-22682
OpenHarness Improper Access Control via File Tools
