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 before commit bd4df81 is due to incorrect authorization (CWE-863) caused by incomplete path normalization in the permission checking mechanism. This flaw permits attackers to bypass path-based access controls by invoking built-in grep and glob tools with sensitive root directories that are not properly evaluated against configured path rules. As a result, attackers can read sensitive local files, key material, configuration files, or directory contents despite restrictions intended to prevent such access. The CVSS 4.0 score is 8.7 (high), indicating a network exploitable vulnerability with no required privileges or user interaction and high impact on confidentiality.
Potential Impact
Successful exploitation allows an unauthenticated attacker to bypass permission checks and read sensitive files on the affected system. This can lead to disclosure of confidential information such as cryptographic keys, configuration files, and other sensitive local data. The vulnerability compromises confidentiality but does not affect integrity or availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability is fixed in commit bd4df81, users should update OpenHarness to versions including or after this commit once available. Until then, restrict access to the affected system and monitor for any unusual file access attempts related to grep and glob usage.
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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in HKUDS OpenHarness before commit bd4df81 is due to incorrect authorization (CWE-863) caused by incomplete path normalization in the permission checking mechanism. This flaw permits attackers to bypass path-based access controls by invoking built-in grep and glob tools with sensitive root directories that are not properly evaluated against configured path rules. As a result, attackers can read sensitive local files, key material, configuration files, or directory contents despite restrictions intended to prevent such access. The CVSS 4.0 score is 8.7 (high), indicating a network exploitable vulnerability with no required privileges or user interaction and high impact on confidentiality.
Potential Impact
Successful exploitation allows an unauthenticated attacker to bypass permission checks and read sensitive files on the affected system. This can lead to disclosure of confidential information such as cryptographic keys, configuration files, and other sensitive local data. The vulnerability compromises confidentiality but does not affect integrity or availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability is fixed in commit bd4df81, users should update OpenHarness to versions including or after this commit once available. Until then, restrict access to the affected system and monitor for any unusual file access attempts related to grep and glob usage.
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: 04/17/2026, 16:23:18 UTC
Last enriched: 07/15/2026, 10:28:14 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 139
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.