Vulnerability 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 Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/HKUDS/OpenHarness/commit/166fcfefb7614dbac51bd061f56542725b02
- https://github.com/HKUDS/OpenHarness/pull/32
- https://www.vulncheck.com/advisories/openharness-improper-access-control-via-fil
FAQ
What is CVE-2026-22682?
CVE-2026-22682 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 ca...
How severe is CVE-2026-22682?
CVE-2026-22682 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-22682?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.