Severity by source
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2Blast Radius
ecosystem impact- 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.
More in Openharness
View allRemote code execution in HKUDS OpenHarness allows authenticated remote attackers to execute arbitrary operating system c
Remote command injection in OpenHarness gateway handler allows authenticated remote chat users to execute administrative
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
Session key derivation in HKUDS OpenHarness prior to PR #159 fails to verify sender identity in shared chat/thread scope
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38469
GHSA-24cw-228q-3rx9