{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40515 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-40515 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-40515 is a high-severity missing authorization vulnerability in HKUDS OpenHarness, published on 17 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40515 and fix it if it is affected.\n\nWhat it is: CVE-2026-40515 is a high-severity missing authorization vulnerability in HKUDS OpenHarness, published on 17 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40515 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-40515/ (Markdown: https://insights.sbomify.com/CVE-2026-40515/index.md)","id":"CVE-2026-40515","markdown":"https://insights.sbomify.com/CVE-2026-40515/index.md","name":"CVE-2026-40515","record":{"aliases":["GHSA-9gpm-2v37-f3mp"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenHarness tool","requires_auth":"none","summary":"Attackers can bypass path restrictions in OpenHarness to read sensitive local files using grep and glob tools.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"openharness","vendor":"hkuds"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"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.","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 Permission Bypass via grep and glob root argument","id":"CVE-2026-40515","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"OpenHarness SSRF via web_fetch and web_search","id":"CVE-2026-40516"},"packages":[],"prev":{"headline":"SmarterTools SmarterMail \u003c Build 9610 Cryptographic Weakness via Weak RNG","id":"CVE-2026-40514"},"products":["OpenHarness"],"published":"2026-04-17","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 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"},{"cvss_score":7.1,"headline":"OpenHarness Path Traversal Information Disclosure via /memory show","id":"CVE-2026-40503","kev_date_added":null,"published":"2026-04-16"}],"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["HKUDS"]},"summary":"Attackers can bypass path restrictions in OpenHarness to read sensitive local files using grep and glob tools.","url":"https://insights.sbomify.com/CVE-2026-40515/"}