CVE-2026-40502 Details
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.
A command injection vulnerability has been identified in OpenHarness versions prior to commit dd1d235. This vulnerability allows remote gateway users with chat access to execute sensitive administrative commands. The issue arises from an inadequate separation between commands intended for local use only and those safe for remote execution, particularly in the gateway handler. Exploiting this flaw, attackers can issue commands like '/permissions full_auto' through remote chat sessions, altering the permission settings of the OpenHarness instance without proper authorization.
Users can update to the latest version of OpenHarness, which includes a patch for this vulnerability. Instructions for updating can be found in the OpenHarness repository on GitHub.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hkuds openharness | < 2026-04-13 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 23, 2026 | Initial Analysis | [email protected] |
| Apr 16, 2026 | New CVE Received | [email protected] |