CVE-2026-22682: CWE-863 Incorrect Authorization in HKUDS OpenHarness
OpenHarness prior to commit 166fcfe contains an improper access control vulnerability in built-in file tools due to inconsistent parameter handling in permission enforcement, allowing attackers who can influence agent tool execution to read arbitrary local files outside the intended repository scope. Attackers can exploit the path parameter not being passed to the PermissionChecker in read_file, write_file, edit_file, and notebook_edit tools to bypass deny rules and access sensitive files such as configuration files, credentials, and SSH material, or create and overwrite files in restricted host paths in full_auto mode.
AI Analysis
Technical Summary
CVE-2026-22682 is an improper authorization vulnerability (CWE-863) in HKUDS OpenHarness prior to commit 166fcfe. The issue is caused by inconsistent handling of the path parameter in permission enforcement within built-in file tools (read_file, write_file, edit_file, notebook_edit). Because the path parameter is not passed to the PermissionChecker, deny rules can be bypassed, enabling attackers with limited privileges who can influence agent tool execution to read or write arbitrary files outside the intended repository scope. This includes sensitive files such as configuration files, credentials, and SSH materials. The vulnerability affects version 0 of OpenHarness as explicitly stated. No official patch or remediation level is provided in the available data.
Potential Impact
An attacker with limited privileges who can influence the execution of agent tools can bypass access control restrictions to read sensitive local files or create/overwrite files in restricted host paths. This could lead to disclosure of confidential information such as configuration data, credentials, and SSH keys, potentially facilitating further compromise. The vulnerability has a high severity with a CVSS 4.0 score of 8.4, indicating significant impact on confidentiality and integrity with low attack complexity and no user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor HKUDS advisories for updates. Until a fix is available, restrict access to agent tool execution to trusted users only and avoid running in full_auto mode if possible to reduce risk of unauthorized file access or modification.
CVE-2026-22682: CWE-863 Incorrect Authorization in HKUDS OpenHarness
Description
OpenHarness prior to commit 166fcfe contains an improper access control vulnerability in built-in file tools due to inconsistent parameter handling in permission enforcement, allowing attackers who can influence agent tool execution to read arbitrary local files outside the intended repository scope. Attackers can exploit the path parameter not being passed to the PermissionChecker in read_file, write_file, edit_file, and notebook_edit tools to bypass deny rules and access sensitive files such as configuration files, credentials, and SSH material, or create and overwrite files in restricted host paths in full_auto mode.
CVSS v4.0
Score 8.4high
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-22682 is an improper authorization vulnerability (CWE-863) in HKUDS OpenHarness prior to commit 166fcfe. The issue is caused by inconsistent handling of the path parameter in permission enforcement within built-in file tools (read_file, write_file, edit_file, notebook_edit). Because the path parameter is not passed to the PermissionChecker, deny rules can be bypassed, enabling attackers with limited privileges who can influence agent tool execution to read or write arbitrary files outside the intended repository scope. This includes sensitive files such as configuration files, credentials, and SSH materials. The vulnerability affects version 0 of OpenHarness as explicitly stated. No official patch or remediation level is provided in the available data.
Potential Impact
An attacker with limited privileges who can influence the execution of agent tools can bypass access control restrictions to read sensitive local files or create/overwrite files in restricted host paths. This could lead to disclosure of confidential information such as configuration data, credentials, and SSH keys, potentially facilitating further compromise. The vulnerability has a high severity with a CVSS 4.0 score of 8.4, indicating significant impact on confidentiality and integrity with low attack complexity and no user interaction required.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor HKUDS advisories for updates. Until a fix is available, restrict access to agent tool execution to trusted users only and avoid running in full_auto mode if possible to reduce risk of unauthorized file access or modification.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-01-08T19:04:26.365Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d5874d43e2781bad84f51b
Added to database: 04/07/2026, 22:38:05 UTC
Last enriched: 07/15/2026, 11:03:28 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 142
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.