Skip to main content

OpenHarness CVE-2026-56696

| EUVDEUVD-2026-38469 MEDIUM
Missing Authorization (CWE-862)
2026-06-23 VulnCheck GHSA-24cw-228q-3rx9
5.3
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
6.4 MEDIUM

Network vector and low-privilege channel membership (PR:L); scope changes to agent runtime via injected system prompt (S:C); limited confidentiality and integrity impact, no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

2
Source Code Evidence Fetched
Jun 23, 2026 - 16:04 vuln.today
Analysis Generated
Jun 23, 2026 - 16:04 vuln.today

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 pypi packages depend on openharness-ai (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 0.1.9.

DescriptionCVE.org

OpenHarness /issue and /pr_comments slash commands lack remote_invocable=False protection, allowing remote channel senders to write attacker-controlled Markdown into project context files. Admitted remote attackers can inject malicious content into .openharness/issue.md and .openharness/pr_comments.md files, which are subsequently injected into runtime system prompts, persistently influencing local agent behavior.

AnalysisAI

Remote prompt injection in OpenHarness allows low-privileged messaging channel participants to persistently corrupt AI agent system prompts by exploiting unguarded /issue and /pr_comments slash commands. Any authenticated member of a connected remote channel (e.g., Slack via the ohmo gateway) can write arbitrary attacker-controlled Markdown into .openharness/issue.md and .openharness/pr_comments.md, which are subsequently injected into the agent's runtime system prompt on every subsequent invocation. No public exploit or CISA KEV listing exists at time of analysis, but the upstream patch (PR #272, commit 27bb93b) confirms the vulnerability and its mechanism.

Technical ContextAI

OpenHarness (CPE: cpe:2.3:a:hkuds:openharness:*:*:*:*:*:*:*:*) is an AI agent framework developed by HKUDS that supports slash command dispatch from remote messaging integrations such as Slack via the ohmo gateway. Commands are registered in src/openharness/commands/registry.py using a SlashCommand abstraction that includes a remote_invocable flag controlling whether the command is accessible from remote channels. Prior to the fix, /issue and /pr_comments were registered without remote_invocable=False, meaning the command registry performed no authorization check before allowing remote senders to invoke these write-capable handlers. CWE-862 (Missing Authorization) precisely captures the root cause: the system exposed a privileged write path to context files without verifying that the caller had the right to invoke it. Because the written files (.openharness/issue.md, .openharness/pr_comments.md) are loaded as part of the agent's system prompt at runtime, the vulnerability enables persistent indirect prompt injection - a class of attack where attacker input reaches an LLM's instruction context through a storage intermediary rather than directly.

RemediationAI

Upstream fix available via PR #272 (https://github.com/HKUDS/OpenHarness/pull/272) and commit 27bb93b (https://github.com/HKUDS/OpenHarness/commit/27bb93b810e9ea8fa4832eab7152eeb3b4a6bffb); update to a release incorporating this commit, which registers /issue and /pr_comments with remote_invocable=False and remote_admin_opt_in=True so these commands are blocked for all remote channel senders by default. A specific tagged release version incorporating this fix is not confirmed from available data - only the commit hash is available; verify the installed package version includes this commit. As a compensating control before patching, restrict the connected messaging channel (e.g., Slack channel used by the ohmo gateway) to trusted internal users only, eliminating untrusted remote participants who could send malicious payloads; this reduces risk but does not eliminate it if any channel member is adversarial. Disabling the remote channel integration entirely removes the attack surface at the cost of losing remote collaboration functionality.

CVE-2026-7551 HIGH
8.7 Apr 30

Remote code execution in HKUDS OpenHarness allows authenticated remote attackers to execute arbitrary operating system c

CVE-2026-40502 HIGH
8.7 Apr 16

Remote command injection in OpenHarness gateway handler allows authenticated remote chat users to execute administrative

CVE-2026-6819 HIGH
8.7 Apr 21

Remote attackers can install and activate arbitrary plugins in HKUDS OpenHarness through exposed plugin management comma

CVE-2026-40515 HIGH
8.7 Apr 17

Remote unauthenticated attackers can bypass path restrictions in OpenHarness (pre-commit bd4df81) to read arbitrary sens

CVE-2026-22682 HIGH
8.4 Apr 07

Improper access control in OpenHarness (prior to commit 166fcfe) allows local authenticated attackers with influence ove

CVE-2026-6823 HIGH
8.3 Apr 21

Unauthorized remote access in HKUDS OpenHarness (all versions prior to the PR #147 fix, released as v0.1.7) stems from a

CVE-2026-40516 HIGH
7.8 Apr 17

Server-Side Request Forgery in OpenHarness AI agent framework (pre-commit bd4df81) permits remote unauthenticated attack

CVE-2026-56695 HIGH
7.1 Jun 23

Cross-session information disclosure in HKUDS OpenHarness ohmo gateway allows admitted remote senders to invoke /resume

CVE-2026-40503 HIGH
7.1 Apr 16

Path traversal in OpenHarness allows authenticated gateway users with chat access to read arbitrary files on the server

CVE-2026-6729 MEDIUM
5.3 Apr 20

Session key derivation in HKUDS OpenHarness prior to PR #159 fails to verify sender identity in shared chat/thread scope

Share

CVE-2026-56696 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy