CVE-2026-40515: CWE-863 Incorrect Authorization in HKUDS OpenHarness
OpenHarness before commit bd4df81 contains a permission bypass vulnerability that allows attackers to read sensitive files by exploiting incomplete path normalization in the permission checker. Attackers can invoke the built-in grep and glob tools with sensitive root directories that are not properly evaluated against configured path rules, allowing disclosure of sensitive local file content, key material, configuration files, or directory contents despite configured path restrictions.
AI Analysis
Technical Summary
The vulnerability in HKUDS OpenHarness (CVE-2026-40515) arises from incomplete path normalization in the permission checking mechanism. This incorrect authorization (CWE-863) permits attackers to bypass intended path restrictions by exploiting how built-in grep and glob tools handle sensitive root directories. Consequently, unauthorized disclosure of sensitive files and directories can occur. The issue affects versions prior to commit bd4df81. The CVSS 4.0 base score is 8.7, indicating a high severity with network attack vector, no privileges or user interaction required, and high impact on confidentiality.
Potential Impact
Successful exploitation of this vulnerability allows an unauthenticated attacker to read sensitive files and directories that should be protected by path-based permission checks. This can lead to disclosure of sensitive local file content, cryptographic key material, configuration files, and directory contents. The integrity, availability, and other security properties are not impacted according to the available data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or remediation level is provided, users should monitor HKUDS advisories for updates. Until a fix is available, consider restricting access to OpenHarness instances and sensitive files through external controls and minimize exposure to untrusted networks.
CVE-2026-40515: CWE-863 Incorrect Authorization in HKUDS OpenHarness
Description
OpenHarness before commit bd4df81 contains a permission bypass vulnerability that allows attackers to read sensitive files by exploiting incomplete path normalization in the permission checker. Attackers can invoke the built-in grep and glob tools with sensitive root directories that are not properly evaluated against configured path rules, allowing disclosure of sensitive local file content, key material, configuration files, or directory contents despite configured path restrictions.
CVSS v4.0
Score 8.7high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in HKUDS OpenHarness (CVE-2026-40515) arises from incomplete path normalization in the permission checking mechanism. This incorrect authorization (CWE-863) permits attackers to bypass intended path restrictions by exploiting how built-in grep and glob tools handle sensitive root directories. Consequently, unauthorized disclosure of sensitive files and directories can occur. The issue affects versions prior to commit bd4df81. The CVSS 4.0 base score is 8.7, indicating a high severity with network attack vector, no privileges or user interaction required, and high impact on confidentiality.
Potential Impact
Successful exploitation of this vulnerability allows an unauthenticated attacker to read sensitive files and directories that should be protected by path-based permission checks. This can lead to disclosure of sensitive local file content, cryptographic key material, configuration files, and directory contents. The integrity, availability, and other security properties are not impacted according to the available data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or remediation level is provided, users should monitor HKUDS advisories for updates. Until a fix is available, consider restricting access to OpenHarness instances and sensitive files through external controls and minimize exposure to untrusted networks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-13T20:29:02.809Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e25e76bdfbbecc595f3fba
Added to database: 4/17/2026, 4:23:18 PM
Last enriched: 4/25/2026, 2:57:14 AM
Last updated: 6/1/2026, 11:37:51 PM
Views: 87
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.