{
  "id": "CVE-2026-40502",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-40502",
  "published_at": "2026-04-16T00:08:34.463Z",
  "title": "OpenHarness Remote Administrative Command Injection via Gateway Handler",
  "vendor": "HKUDS",
  "product": "OpenHarness",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-862",
  "cpes": [
    "cpe:2.3:a:hkuds:openharness:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "HKUDS",
        "product": "OpenHarness",
        "ranges": [
          "\u003c dd1d235450dd987b20bff01b7bfb02fe8620a0af"
        ],
        "fixed_in": [
          "dd1d235450dd987b20bff01b7bfb02fe8620a0af"
        ]
      }
    ],
    "upgrade": [
      "Upgrade OpenHarness to dd1d235450dd987b20bff01b7bfb02fe8620a0af or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/HKUDS/OpenHarness/pull/127"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/HKUDS/OpenHarness/commit/dd1d235450dd987b20bff01b7bfb02fe8620a0af"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
