Skip to content
Heist/ feed
Back to feed
High

OpenHarness Improper Access Control via File Tools

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-22682
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:57 UTC · Revision 1

Source evidence

OpenHarness Improper Access Control via File Tools

core-osv · Original source

Published 7 Apr 2026, 17:09 UTC

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.

osv:CVE-2026-22682
Complete source record
{
  "id": "1b9727703e4859dae42a6a2f15a934166043c5ce1c115217568fea4645ee3b15",
  "url": "https://osv.dev/vulnerability/CVE-2026-22682",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OpenHarness Improper Access Control via File Tools",
    "summary": "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.",
    "evidence": "osv:CVE-2026-22682",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-22682",
      "aliases": [
        "CVE-2026-22682"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/HKUDS/OpenHarness",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "166fcfefb7614dbac51bd061f56542725b0298e9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "166fcfefb7614dbac51bd061f56542725b0298e9"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22682.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.759355720Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22682.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-22682",
        "https://www.vulncheck.com/advisories/openharness-improper-access-control-via-file-tools",
        "https://github.com/HKUDS/OpenHarness/pull/32",
        "https://github.com/HKUDS/OpenHarness/commit/166fcfefb7614dbac51bd061f56542725b0298e9",
        "https://github.com/HKUDS/OpenHarness"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-863"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22682.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-22682",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498555,
  "published_at": "2026-04-07T17:09:01.033+00:00"
}