Denied-file read and write via omitted permission path
Published Apr 7, 2026 · Updated Apr 7, 2026
Incorrect authorization in OpenHarness before commit 166fcfe allows local users to read or write denied host files through agent tool calls. QueryEngine forwards only file_path to PermissionChecker, while read_file, write_file, edit_file, and notebook_edit supply path. Attacker-influenced tool execution bypasses deny rules for reads in default mode and for file creation or overwrites in full_auto.
Summary
What happened
Incorrect authorization in OpenHarness before commit 166fcfe allows local users to read or write denied host files through agent tool calls. QueryEngine forwards only file_path to PermissionChecker, while read_file, write_file, edit_file, and notebook_edit supply path. Attacker-influenced tool execution bypasses deny rules for reads in default mode and for file creation or overwrites in full_auto.
The record
- CVE
- CVE-2026-22682
- Published
- Apr 7, 2026
- Updated
- Apr 7, 2026
- Vendor
- Data Intelligence Lab @ HKU
- Product
- OpenHarness
- Classifications
- CWE-863, CWE-284, T1565.001, T1005
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 7, 2026CVE publishedPublication date reported by the CVE source.
- Apr 7, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <166fcfefb7614dbac51bd061f56542725b0298e9
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream path-rule bypass reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo