Skip to main content

Openharness CVE-2026-40515

| EUVDEUVD-2026-23450 HIGH
Incorrect Authorization (CWE-863)
2026-04-17 VulnCheck
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed OpenHarness endpoint
  2. Delivery
    Craft grep/glob request with sensitive path
  3. Exploit
    Bypass incomplete path validation
  4. Execution
    Execute tool against restricted directory
  5. Impact
    Exfiltrate sensitive file contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions - remote unauthenticated exploitation against default configurations of OpenHarness deployments. The CVSS vector AV:N/AC:L/PR:N/UI:N confirms network-accessible attack requiring no authentication, low complexity, and no user interaction. Exploitation requires only that the OpenHarness instance is network-reachable and that the grep and glob built-in tools are enabled (default behavior). The vulnerability exists in the core permission checking logic rather than optional features. Success depends on the attacker identifying valid sensitive file paths on the target system, which varies by deployment but includes common Unix/Linux paths like /etc, /root, and application-specific configuration directories. No specific platform version, non-default configuration, or elevated privileges required. The primary limiting factor is network accessibility - internally firewalled instances face reduced risk from external attackers but remain vulnerable to authenticated network users or insider threats.

Impact

Real-world risk is substantial for internet-exposed OpenHarness instances. CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N indicates network-accessible exploitation with low complexity requiring no authentication or user interaction, making this highly automatable. The confidentiality impact is High (C:H) while integrity and availability remain unaffected, consistent with a read-only information disclosure vulnerability. No CISA KEV listing suggests this is not yet widely exploited in the wild, though the availability of a public GitHub patch and VulnCheck advisory increases attacker awareness. EPSS probability data not provided, limiting statistical exploitation likelihood assessment. The SSVC framework would classify this as: exploitation status likely POC-available (vendor fix published), automatable (network vector, no auth), technical impact partial (confidentiality only). Priority depends heavily on deployment exposure - internet-facing instances with sensitive data accessible to OpenHarness process require immediate patching. Internal-only deployments with limited data access face lower immediate risk. The combination of no authentication requirement and network accessibility makes this a high-priority issue for any exposed deployment, despite absence of confirmed active exploitation.

Exploit ScenarioDerived

An unauthenticated remote attacker identifies an internet-exposed OpenHarness instance through reconnaissance scanning. The attacker crafts HTTP requests that invoke the built-in grep tool with arguments targeting sensitive root directories like /etc/shadow, /root/.ssh/, or application configuration paths containing database credentials. Because the permission checker performs incomplete path normalization, the crafted glob patterns bypass configured path restrictions. The grep and glob operations execute successfully, returning file contents or directory listings to the attacker. The attacker exfiltrates SSH private keys, API tokens, database passwords, and other credentials for use in subsequent attacks against the infrastructure. No public exploit code reference provided in intelligence data, but the technical mechanism described enables straightforward exploitation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 17, 2026

Remote unauthenticated attackers can bypass path restrictions in OpenHarness (pre-commit bd4df81) to read arbitrary sensitive files via crafted grep/glob operations. The incomplete path normalization in permission checking allows exploitation of built-in tools to access sensitive root directories, key material, and configuration files despite configured access controls. CVSS 7.5 (High) with network vector and no authentication required. EPSS data not provided. No CISA KEV listing identified, indicating no confirmed widespread active exploitation at time of analysis. Vendor patch available via GitHub commit bd4df81.

RemediationAI

Update OpenHarness to commit bd4df81f634f8c7cddcc3fdf7f561a13dcbf03ae or later from the HKUDS GitHub repository at https://github.com/HKUDS/OpenHarness/commit/bd4df81f634f8c7cddcc3fdf7f561a13dcbf03ae. Review pull request 92 for implementation details at https://github.com/HKUDS/OpenHarness/pull/92. If immediate patching is not feasible, implement network-level access controls to restrict OpenHarness exposure to trusted networks only via firewall rules or VPN requirements, though this does not eliminate insider threat risk. Audit existing path restriction configurations and review logs for suspicious grep or glob invocations targeting root directories or sensitive filesystem paths. Consider disabling or restricting the grep and glob built-in tools if business requirements permit, though this may impact legitimate functionality and requires testing. Deploy file integrity monitoring on sensitive directories to detect unauthorized access attempts. Each compensating control reduces but does not eliminate risk compared to applying the vendor patch.

Affected VersionsENISA

OpenHarness 0 <bd4df81f634f8c7cddcc3fdf7f561a13dcbf03ae

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenHarness is an open-source framework (HKUDS project) that implements permission checking to restrict file system access. The vulnerability stems from CWE-863 (Incorrect Authorization), specifically incomplete path normalization in the permission validation logic. When attackers invoke the built-in grep and glob utilities with specially crafted path arguments targeting sensitive root directories, the permission checker fails to properly normalize and evaluate these paths against configured path restriction rules. This allows the tools to traverse outside intended boundaries and access filesystem locations that should be blocked. The affected product is identified by CPE cpe:2.3:a:hkuds:openharness. The issue resembles classic path traversal vulnerabilities but manifests through tool invocation rather than direct file API calls, exploiting the gap between tool argument parsing and permission enforcement.

Know when Openharness gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck) · only source for this CVE.

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 17, 2026 - 17:22 NVD
7.5 (HIGH) 8.7 (HIGH)
Patch released
Apr 17, 2026 - 16:45 nvd
Patch available
CVE Published
Apr 17, 2026 - 16:00 nvd
HIGH 8.7

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

OpenHarness contains a path traversal vulnerability that allows unauthenticated remote attackers to bypass access controls and read arbitrary sensitive files, including cryptographic keys and configuration data, due to incomplete path normalization in permission checks. Organizations deploying OpenHarness are at direct risk of unauthorized disclosure of credentials and system secrets that could enable lateral movement or data compromise.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-7551 HIGH
8.7 Apr 30

Remote code execution in HKUDS OpenHarness allows authenticated remote attackers to execute arbitrary operating system c

CVE-2026-40502 HIGH
8.7 Apr 16

Remote command injection in OpenHarness gateway handler allows authenticated remote chat users to execute administrative

CVE-2026-6819 HIGH
8.7 Apr 21

Remote attackers can install and activate arbitrary plugins in HKUDS OpenHarness through exposed plugin management comma

CVE-2026-22682 HIGH
8.4 Apr 07

Improper access control in OpenHarness (prior to commit 166fcfe) allows local authenticated attackers with influence ove

CVE-2026-6823 HIGH
8.3 Apr 21

Unauthorized remote access in HKUDS OpenHarness (all versions prior to the PR #147 fix, released as v0.1.7) stems from a

CVE-2026-40516 HIGH
7.8 Apr 17

Server-Side Request Forgery in OpenHarness AI agent framework (pre-commit bd4df81) permits remote unauthenticated attack

CVE-2026-56695 HIGH
7.1 Jun 23

Cross-session information disclosure in HKUDS OpenHarness ohmo gateway allows admitted remote senders to invoke /resume

CVE-2026-40503 HIGH
7.1 Apr 16

Path traversal in OpenHarness allows authenticated gateway users with chat access to read arbitrary files on the server

CVE-2026-56696 MEDIUM
5.3 Jun 23

Remote prompt injection in OpenHarness allows low-privileged messaging channel participants to persistently corrupt AI a

CVE-2026-6729 MEDIUM
5.3 Apr 20

Session key derivation in HKUDS OpenHarness prior to PR #159 fails to verify sender identity in shared chat/thread scope

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy