CVE-2026-40502

Source
https://cve.org/CVERecord?id=CVE-2026-40502
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40502.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40502
Published
2026-04-16T00:08:34.463Z
Modified
2026-07-08T08:13:12.869002688Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenHarness Remote Administrative Command Injection via Gateway Handler
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "fixed": "dd1d235450dd987b20bff01b7bfb02fe8620a0af"
                }
            ]
        }
    ],
    "cwe_ids": [
        "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40502.json"
}
References

Affected packages

Git / github.com/hkuds/openharness

Affected ranges

Type
GIT
Repo
https://github.com/hkuds/openharness
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Affected versions

v0.*
v0.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40502.json"