HKUDS OpenHarness
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 166fcfefb7614dbac51bd061f56542725b0298e9
Fixed in 166fcfefb7614dbac51bd061f56542725b0298e9
Mitigation
Upgrade OpenHarness to 166fcfefb7614dbac51bd061f56542725b0298e9 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.