What’s Vulnerable › Vulnerabilities
CVE-2026-40515: OpenHarness Permission Bypass via grep and glob root argument
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-17 · updated 2026-10-26
- Weakness: CWE-863
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.
Affected products
- HKUDS OpenHarness: before 2026-04-11 — fixed in 2026-04-11
How to fix
Upgrade to a fixed version: HKUDS OpenHarness 2026-04-11. Check the vendor advisory for mitigations.
References
- https://github.com/HKUDS/OpenHarness/commit/bd4df81f634f8c7cddcc3fdf7f561a13dcbf03ae
- https://github.com/HKUDS/OpenHarness/pull/92
- https://www.vulncheck.com/advisories/openharness-permission-bypass-via-grep-and-glob-root-argument
Get alerted when CVE-2026-40515 or the next vulnerability affects your stack