# CVE-2026-40515: OpenHarness Permission Bypass via grep and glob root argument

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-17T16:00:07.116Z
- Modified: 2026-11-08T14:02:54.152Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- HKUDS OpenHarness: before bd4df81f634f8c7cddcc3fdf7f561a13dcbf03ae; before 2026-04-11

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`

## References

- <https://github.com/HKUDS/OpenHarness/pull/92> (exploit, issue-tracking, patch)
- <https://github.com/HKUDS/OpenHarness/commit/bd4df81f634f8c7cddcc3fdf7f561a13dcbf03ae> (patch)
- <https://www.vulncheck.com/advisories/openharness-permission-bypass-via-grep-and-glob-root-argument> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-40515](https://www.cve.org/CVERecord?id=CVE-2026-40515), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-40515](https://nvd.nist.gov/vuln/detail/CVE-2026-40515), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40515 · Whole record: https://cve.day/CVE-2026-40515.json · Rebuilt by cve.day 2026-11-25T22:59:18.949Z
