Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 97%

CVE-2026-22682: CWE-863 Incorrect Authorization in HKUDS OpenHarness

0
High
VulnerabilityCVE-2026-22682cvecve-2026-22682cwe-863
Published: 04/07/2026 (04/07/2026, 17:09:01 UTC)
Source: CVE Database V5
Vendor/Project: HKUDS
Product: OpenHarness

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 v4.0

Score 8.4high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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 software

GitHub Actionsmore threats →ai
hkuds/OpenHarness
pkg:github/hkuds/OpenHarness
Affected versions
=0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 11:03:28 UTC

Technical Analysis

CVE-2026-22682 is an improper authorization vulnerability (CWE-863) in HKUDS OpenHarness prior to commit 166fcfe. The issue is caused by inconsistent handling of the path parameter in permission enforcement within built-in file tools (read_file, write_file, edit_file, notebook_edit). Because the path parameter is not passed to the PermissionChecker, deny rules can be bypassed, enabling attackers with limited privileges who can influence agent tool execution to read or write arbitrary files outside the intended repository scope. This includes sensitive files such as configuration files, credentials, and SSH materials. The vulnerability affects version 0 of OpenHarness as explicitly stated. No official patch or remediation level is provided in the available data.

Potential Impact

An attacker with limited privileges who can influence the execution of agent tools can bypass access control restrictions to read sensitive local files or create/overwrite files in restricted host paths. This could lead to disclosure of confidential information such as configuration data, credentials, and SSH keys, potentially facilitating further compromise. The vulnerability has a high severity with a CVSS 4.0 score of 8.4, indicating significant impact on confidentiality and integrity with low attack complexity and no user interaction required.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor HKUDS advisories for updates. Until a fix is available, restrict access to agent tool execution to trusted users only and avoid running in full_auto mode if possible to reduce risk of unauthorized file access or modification.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-01-08T19:04:26.365Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69d5874d43e2781bad84f51b

Added to database: 04/07/2026, 22:38:05 UTC

Last enriched: 07/15/2026, 11:03:28 UTC

Last updated: 07/31/2026, 19:22:57 UTC

Views: 142

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses