# CVE-2026-40502

> Vulnerability · severity: **HIGH** (CVSS 8.8).

## Description

OpenHarness prior to commit dd1d235 contains a command injection vulnerability that allows remote gateway users with chat access to invoke sensitive administrative commands by exploiting insufficient distinction between local-only and remote-safe commands in the gateway handler. Attackers can execute administrative commands such as /permissions full_auto through remote chat sessions to change permission modes of a running OpenHarness instance without operator authorization.

## Key facts

- **CVE ID:** CVE-2026-40502
- **Published:** 2026-04-16
- **CVSS severity:** HIGH
- **CVSS base score:** 8.8
- **CWE codes:** CWE-862

## Affected products

- `hkuds:openharness`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-40502

## Citation

> AI Analytics. CVE-2026-40502. Retrieved 2026-07-19 from https://api.ai-analytics.org/cve/CVE-2026-40502. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*