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
HKUDS OpenHarness versions before commit 166fcfe contain a CWE-863 improper authorization vulnerability in built-in file tools. The root cause is inconsistent handling of the path parameter in permission enforcement, where read_file, write_file, edit_file, and notebook_edit tools fail to pass the path parameter to the PermissionChecker. This flaw allows attackers who can influence the execution of these agent tools with low privileges to bypass access controls and read or write arbitrary files outside the intended repository scope, including sensitive configuration files, credentials, and SSH keys. The vulnerability affects local access scenarios and does not require user interaction or elevated privileges beyond low-level agent execution control.
Potential Impact
Successful exploitation allows an attacker with limited local privileges to bypass access control restrictions and read or modify arbitrary files on the host system. This can lead to disclosure of sensitive information such as configuration files, credentials, and SSH keys, or unauthorized file creation and modification in restricted paths. The vulnerability has a CVSS 4.0 score of 8.4 (high severity), indicating significant impact on confidentiality and integrity in affected environments.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or patch is released, restrict access to the affected OpenHarness agent tools to trusted users only and monitor for unauthorized use. Avoid running these tools in environments where untrusted users can influence their execution. Review and update permission enforcement logic to ensure the path parameter is consistently checked by the PermissionChecker in all relevant tools.
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
HKUDS OpenHarness versions before commit 166fcfe contain a CWE-863 improper authorization vulnerability in built-in file tools. The root cause is inconsistent handling of the path parameter in permission enforcement, where read_file, write_file, edit_file, and notebook_edit tools fail to pass the path parameter to the PermissionChecker. This flaw allows attackers who can influence the execution of these agent tools with low privileges to bypass access controls and read or write arbitrary files outside the intended repository scope, including sensitive configuration files, credentials, and SSH keys. The vulnerability affects local access scenarios and does not require user interaction or elevated privileges beyond low-level agent execution control.
Potential Impact
Successful exploitation allows an attacker with limited local privileges to bypass access control restrictions and read or modify arbitrary files on the host system. This can lead to disclosure of sensitive information such as configuration files, credentials, and SSH keys, or unauthorized file creation and modification in restricted paths. The vulnerability has a CVSS 4.0 score of 8.4 (high severity), indicating significant impact on confidentiality and integrity in affected environments.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or patch is released, restrict access to the affected OpenHarness agent tools to trusted users only and monitor for unauthorized use. Avoid running these tools in environments where untrusted users can influence their execution. Review and update permission enforcement logic to ensure the path parameter is consistently checked by the PermissionChecker in all relevant tools.
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: 4/7/2026, 10:38:05 PM
Last enriched: 4/7/2026, 10:39:33 PM
Last updated: 4/8/2026, 5:42:08 AM
Views: 5
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.