HarborGuard / CVE
Back to search
HIGHCVE-2026-22682Published Modified CNA VulnCheck

CVE-2026-22682: OpenHarness Improper Access Control via File Tools

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.

Metrics

CVSS v4.0
8.4
Severity
HIGH
Fixed in
166fcfefb7614dbac51bd061f56542725b0298e9
Affected Products
1

Fix available

166fcfefb7614dbac51bd061f56542725b0298e9
Patch commits
Affected packages
  • HKUDS / OpenHarness
    < 166fcfefb7614dbac51bd061f56542725b0298e9 (from 0)
CVSS Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N