CVE-2026-40503: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in HKUDS OpenHarness
OpenHarness prior to commit dd1d235 contains a path traversal vulnerability that allows remote gateway users with chat access to read arbitrary files by supplying path traversal sequences to the /memory show slash command. Attackers can manipulate the path input parameter to escape the project memory directory and access sensitive files accessible to the OpenHarness process without filesystem containment validation.
AI Analysis
Technical Summary
CVE-2026-40503 is a path traversal vulnerability in HKUDS OpenHarness versions prior to commit dd1d235. Remote users with chat access can exploit the /memory show slash command by manipulating the path input parameter with traversal sequences to bypass directory restrictions. This allows reading arbitrary files outside the intended project memory directory without proper filesystem containment validation. The vulnerability is classified under CWE-22 and has a CVSS 4.0 score of 7.1 (high severity). No official patch or remediation level has been provided as of the published date.
Potential Impact
An attacker with remote gateway chat access can read arbitrary files on the system running OpenHarness by exploiting the path traversal vulnerability. This could lead to disclosure of sensitive information accessible to the OpenHarness process. There is no indication of privilege escalation, code execution, or denial of service from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict or monitor access to the chat interface for untrusted users to reduce exposure. Avoid exposing the vulnerable /memory show slash command to untrusted parties.
CVE-2026-40503: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in HKUDS OpenHarness
Description
OpenHarness prior to commit dd1d235 contains a path traversal vulnerability that allows remote gateway users with chat access to read arbitrary files by supplying path traversal sequences to the /memory show slash command. Attackers can manipulate the path input parameter to escape the project memory directory and access sensitive files accessible to the OpenHarness process without filesystem containment validation.
CVSS v4.0
Score 7.1high
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
CVE-2026-40503 is a path traversal vulnerability in HKUDS OpenHarness versions prior to commit dd1d235. Remote users with chat access can exploit the /memory show slash command by manipulating the path input parameter with traversal sequences to bypass directory restrictions. This allows reading arbitrary files outside the intended project memory directory without proper filesystem containment validation. The vulnerability is classified under CWE-22 and has a CVSS 4.0 score of 7.1 (high severity). No official patch or remediation level has been provided as of the published date.
Potential Impact
An attacker with remote gateway chat access can read arbitrary files on the system running OpenHarness by exploiting the path traversal vulnerability. This could lead to disclosure of sensitive information accessible to the OpenHarness process. There is no indication of privilege escalation, code execution, or denial of service from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict or monitor access to the chat interface for untrusted users to reduce exposure. Avoid exposing the vulnerable /memory show slash command to untrusted parties.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-13T20:29:02.808Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e0388582d89c981fe55b24
Added to database: 04/16/2026, 01:16:53 UTC
Last enriched: 07/15/2026, 10:27:40 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 121
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.