CVE-2026-22682 Details
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.
A vulnerability exists in OpenHarness built-in file tools prior to commit 166fcfe, where improper access control allows attackers to read arbitrary local files outside the intended repository scope. This issue arises from inconsistent parameter handling in permission enforcement, enabling exploitation of the path parameter not being properly passed to the PermissionChecker. As a result, attackers can bypass deny rules to access sensitive files such as configuration files, credentials, and SSH material. Additionally, in full_auto mode, they can create and overwrite files in restricted host paths.
Users can update to the latest version of OpenHarness, as the vulnerability has been addressed in the commit referenced in this advisory.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 7, 2026CISA-ADP
Assessed Apr 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/HKUDS/OpenHarness/commit/166fcfefb7614dbac51bd061f56542725b0298e9 | [email protected] | Source CodeVendor |
| https://github.com/HKUDS/OpenHarness/pull/32 | [email protected] | Issue TrackingVendor |
| https://www.vulncheck.com/advisories/openharness-improper-access-control-via-file-tools | [email protected] | AdvisoryBundleRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| HKUDS OpenHarness | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 7, 2026 | New CVE Received | [email protected] |
Volerion