{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40503 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-40503 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-40503 is a high-severity path traversal vulnerability in HKUDS OpenHarness, published on 16 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40503 and fix it if it is affected.\n\nWhat it is: CVE-2026-40503 is a high-severity path traversal vulnerability in HKUDS OpenHarness, published on 16 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40503 in the wild and no public exploit code.\n\nAffected product: HKUDS OpenHarness. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40503/ (Markdown: https://insights.sbomify.com/CVE-2026-40503/index.md)","id":"CVE-2026-40503","markdown":"https://insights.sbomify.com/CVE-2026-40503/index.md","name":"CVE-2026-40503","record":{"aliases":["GHSA-fwhx-4vqr-m9gj"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenHarness gateway","requires_auth":"low_privilege","summary":"Remote users can read arbitrary files via path traversal in the /memory show command, exposing sensitive data to attackers.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"openharness","vendor":"hkuds"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"OpenHarness Path Traversal Information Disclosure via /memory show","id":"CVE-2026-40503","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Creolabs Gravity \u003c 0.9.6 Heap Buffer Overflow via gravity_vm_exec","id":"CVE-2026-40504"},"packages":[],"prev":{"headline":"OpenHarness Remote Administrative Command Injection via Gateway Handler","id":"CVE-2026-40502"},"products":["OpenHarness"],"published":"2026-04-16","related":[{"cvss_score":8.7,"headline":"HKUDS OpenHarness Remote Command Execution via /bridge Slash Command","id":"CVE-2026-7551","kev_date_added":null,"published":"2026-04-30"},{"cvss_score":8.7,"headline":"HKUDS OpenHarness Plugin Management Command Exposure","id":"CVE-2026-6819","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.7,"headline":"OpenHarness Permission Bypass via grep and glob root argument","id":"CVE-2026-40515","kev_date_added":null,"published":"2026-04-17"},{"cvss_score":8.7,"headline":"OpenHarness Remote Administrative Command Injection via Gateway Handler","id":"CVE-2026-40502","kev_date_added":null,"published":"2026-04-16"},{"cvss_score":8.3,"headline":"HKUDS OpenHarness Insecure Default Remote Channel Allowlist","id":"CVE-2026-6823","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":7.8,"headline":"OpenHarness SSRF via web_fetch and web_search","id":"CVE-2026-40516","kev_date_added":null,"published":"2026-04-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["HKUDS"]},"summary":"Remote users can read arbitrary files via path traversal in the /memory show command, exposing sensitive data to attackers.","url":"https://insights.sbomify.com/CVE-2026-40503/"}