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

- Severity: High 8.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-02)
- Published: 2026-04-07T17:09:01.033Z
- Modified: 2026-11-08T14:01:20.712Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- HKUDS OpenHarness: before 166fcfefb7614dbac51bd061f56542725b0298e9

## Every score

- VulnCheck: CVSS:4.0 8.4 High `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`
- VulnCheck: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/HKUDS/OpenHarness/pull/32> (issue-tracking, patch)
- <https://github.com/HKUDS/OpenHarness/commit/166fcfefb7614dbac51bd061f56542725b0298e9> (patch)
- <https://www.vulncheck.com/advisories/openharness-improper-access-control-via-file-tools> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-22682](https://www.cve.org/CVERecord?id=CVE-2026-22682), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-22682](https://nvd.nist.gov/vuln/detail/CVE-2026-22682), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-22682 · Whole record: https://cve.day/CVE-2026-22682.json · Rebuilt by cve.day 2026-11-25T22:59:18.142Z
