CVE-2026-40502: CWE-862 Missing Authorization in HKUDS OpenHarness
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.
AI Analysis
Technical Summary
CVE-2026-40502 is a command injection vulnerability in HKUDS OpenHarness before commit dd1d235. The vulnerability arises from insufficient distinction between local-only and remote-safe commands in the gateway handler, allowing remote users with chat access to invoke administrative commands such as /permissions full_auto. This missing authorization (CWE-862) enables unauthorized remote execution of sensitive commands, potentially compromising the security and control of the OpenHarness instance.
Potential Impact
An attacker with remote chat access can execute administrative commands on the OpenHarness instance without operator authorization. This can lead to unauthorized changes in permission modes, potentially allowing further unauthorized actions or disruption of service. The vulnerability has a high CVSS score of 8.7, indicating significant impact if exploited.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround has been provided at this time. Users should monitor vendor communications for updates and consider restricting remote chat access until a fix is available.
CVE-2026-40502: CWE-862 Missing Authorization in HKUDS OpenHarness
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 v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40502 is a command injection vulnerability in HKUDS OpenHarness before commit dd1d235. The vulnerability arises from insufficient distinction between local-only and remote-safe commands in the gateway handler, allowing remote users with chat access to invoke administrative commands such as /permissions full_auto. This missing authorization (CWE-862) enables unauthorized remote execution of sensitive commands, potentially compromising the security and control of the OpenHarness instance.
Potential Impact
An attacker with remote chat access can execute administrative commands on the OpenHarness instance without operator authorization. This can lead to unauthorized changes in permission modes, potentially allowing further unauthorized actions or disruption of service. The vulnerability has a high CVSS score of 8.7, indicating significant impact if exploited.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround has been provided at this time. Users should monitor vendor communications for updates and consider restricting remote chat access until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-13T20:29:02.808Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e0388582d89c981fe55b1f
Added to database: 04/16/2026, 01:16:53 UTC
Last enriched: 07/15/2026, 10:27:32 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 157
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.