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…

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

0
High
VulnerabilityCVE-2026-22682cvecve-2026-22682cwe-863
Published: Tue Apr 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/07/2026, 22:39:33 UTC

Technical Analysis

HKUDS OpenHarness versions before commit 166fcfe contain a CWE-863 improper authorization vulnerability in built-in file tools. The root cause is inconsistent handling of the path parameter in permission enforcement, where read_file, write_file, edit_file, and notebook_edit tools fail to pass the path parameter to the PermissionChecker. This flaw allows attackers who can influence the execution of these agent tools with low privileges to bypass access controls and read or write arbitrary files outside the intended repository scope, including sensitive configuration files, credentials, and SSH keys. The vulnerability affects local access scenarios and does not require user interaction or elevated privileges beyond low-level agent execution control.

Potential Impact

Successful exploitation allows an attacker with limited local privileges to bypass access control restrictions and read or modify arbitrary files on the host system. This can lead to disclosure of sensitive information such as configuration files, credentials, and SSH keys, or unauthorized file creation and modification in restricted paths. The vulnerability has a CVSS 4.0 score of 8.4 (high severity), indicating significant impact on confidentiality and integrity in affected environments.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or patch is released, restrict access to the affected OpenHarness agent tools to trusted users only and monitor for unauthorized use. Avoid running these tools in environments where untrusted users can influence their execution. Review and update permission enforcement logic to ensure the path parameter is consistently checked by the PermissionChecker in all relevant tools.

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: 4/7/2026, 10:38:05 PM

Last enriched: 4/7/2026, 10:39:33 PM

Last updated: 4/8/2026, 5:42:08 AM

Views: 5

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