Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain chat credentials
-
DeliveryEstablish remote gateway session
-
ExploitInject /permissions full_auto command
-
ExecutionBypass authorization checks
-
PersistExecute administrative functions
-
ImpactModify security controls
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires authenticated access to OpenHarness gateway chat functionality (PR:L indicates low-privileged user credentials sufficient). The gateway handler must be configured to accept remote chat connections, which appears to be default behavior based on the vulnerability description distinguishing between 'local-only' and 'remote-safe' command contexts. No special chat features, non-default settings, or operator interaction required beyond normal authenticated chat session establishment. Exploitation is limited by the need for valid user credentials to the chat interface, but any legitimate chat user can exploit this regardless of their intended authorization level. The vulnerability affects the command validation logic itself, so configurations that expose chat to multiple users or external networks face highest risk. Single-operator deployments where the only chat user is the administrator present minimal realistic risk since the admin already possesses the privileges being escalated. |
| Impact | Real-world risk is substantial despite lack of public exploit confirmation. CVSS 8.7 accurately reflects the severity given the network attack vector (AV:N), low complexity (AC:L), and high impact across confidentiality, integrity, and availability (VC:H/VI:H/VA:H). The requirement for low privileges (PR:L) means any authenticated chat user can exploit this, making it automatable once initial access is obtained. EPSS score unavailable limits statistical exploitation probability assessment. Not present in CISA KEV indicates no confirmed active exploitation at time of analysis, though the vulnerability is recent (2026 timeframe) and may not have reached broad attacker awareness. VulnCheck report suggests security researcher discovery rather than incident-driven disclosure. The ability to modify permission modes creates a privilege escalation path that could disable authentication controls entirely, enabling follow-on attacks. Primary risk applies to organizations exposing OpenHarness gateway chat interfaces to remote users, particularly multi-tenant environments where chat access boundaries should prevent administrative control. Single-tenant deployments with trusted chat users face reduced but non-zero risk from compromised user accounts. |
| Exploit ScenarioDerived | An attacker with valid chat credentials to an OpenHarness gateway establishes a remote chat session and sends the crafted command /permissions full_auto through the chat interface. The vulnerable gateway handler processes this administrative command without verifying the requester's authorization level or command source, immediately changing the instance's permission mode to disable access controls. The attacker can then execute additional administrative commands or access restricted functionality without operator oversight, potentially exfiltrating model data, modifying AI behavior policies, or pivoting to underlying infrastructure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 16, 2026
Remote command injection in OpenHarness gateway handler allows authenticated remote chat users to execute administrative commands like /permissions full_auto without authorization, escalating privileges to modify security controls of running instances. Vulnerability exploits insufficient command validation in chat interface. Fixed in commit dd1d235. CVSS 8.7 (High) with network attack vector and low complexity. EPSS data unavailable; not listed in CISA KEV. VulnCheck advisory and GitHub patch available.
Earlier versions of this analysis (1)
Command injection in OpenHarness gateway handler allows authenticated remote chat users to execute administrative commands without authorization, changing permission modes and potentially achieving full system compromise. Affects all versions prior to commit dd1d235. Vendor patch available via GitHub commit. CVSS 8.8 (High) reflects network-accessible attack requiring only low-privilege chat access with no user interaction. No active exploitation (CISA KEV) or public POC identified at time of analysis, though technical details are publicly documented in VulnCheck advisory and GitHub PR #127.
RemediationAI
Upgrade to OpenHarness commit dd1d235450dd987b20bff01b7bfb02fe8620a0af or later, which implements proper command scope validation in the gateway handler per GitHub PR #127. Organizations using git-based deployments should pull from the main branch after April 2024 (estimated based on CVE-2026 designation, verify actual commit date). If immediate patching is not feasible, implement network-level access controls to restrict gateway chat interface access to trusted IP ranges only, recognizing this does not prevent exploitation by authenticated insiders or compromised accounts within the trusted network. Alternatively, disable remote gateway chat functionality entirely and restrict administrative command access to local console sessions, though this eliminates legitimate remote chat use cases. Review OpenHarness audit logs for unauthorized use of /permissions or other administrative commands from remote sessions prior to patching, as these may indicate exploitation attempts or successful attacks. After patching, verify permission mode settings match intended security policy, as attackers may have modified configurations that persist after remediation.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenHarness is a framework for managing AI model interactions through gateway interfaces. This vulnerability (CWE-862: Missing Authorization) exists in the gateway handler component responsible for processing chat commands. The flaw arises from inadequate separation between administrative commands intended for local operator use and commands exposed through remote chat sessions. The gateway handler fails to enforce authorization checks or command scope restrictions, allowing any command accepted locally to also be invoked remotely by authenticated chat users. The /permissions full_auto command specifically modifies the permission mode of the running OpenHarness instance, potentially disabling security controls. The CVSS 4.0 vector (AV:N/AC:L/PR:L) indicates network-accessible exploitation requiring only low-privileged authentication with no additional attack complexity.
Know when Openharness gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
OpenHarness gateway handler contains a remote command injection vulnerability (CVE-2026-40502, CVSS 8.7) that allows authenticated users to execute administrative commands and escalate privileges to modify security controls on running instances. This directly compromises the integrity and access control of OpenHarness deployments, enabling authorized users to bypass established permission boundaries and alter critical configurations.
Apply vendor patch. If immediate patching is not possible: restrict OpenHarness gateway user authentication to principle-of-least-privilege accounts only; implement network-level access controls limiting gateway handler exposure; enable logging and monitoring of all chat-interface commands; and audit user permission levels to remove unnecessary administrative scope.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Openharness
View allRemote code execution in HKUDS OpenHarness allows authenticated remote attackers to execute arbitrary operating system c
Remote attackers can install and activate arbitrary plugins in HKUDS OpenHarness through exposed plugin management comma
Remote unauthenticated attackers can bypass path restrictions in OpenHarness (pre-commit bd4df81) to read arbitrary sens
Improper access control in OpenHarness (prior to commit 166fcfe) allows local authenticated attackers with influence ove
Unauthorized remote access in HKUDS OpenHarness (all versions prior to the PR #147 fix, released as v0.1.7) stems from a
Server-Side Request Forgery in OpenHarness AI agent framework (pre-commit bd4df81) permits remote unauthenticated attack
Cross-session information disclosure in HKUDS OpenHarness ohmo gateway allows admitted remote senders to invoke /resume
Path traversal in OpenHarness allows authenticated gateway users with chat access to read arbitrary files on the server
Remote prompt injection in OpenHarness allows low-privileged messaging channel participants to persistently corrupt AI a
Session key derivation in HKUDS OpenHarness prior to PR #159 fails to verify sender identity in shared chat/thread scope
EUVD-2026-23141
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB