CVE-2022-4987: Path Hijacking Arbitrary Code Execution in Hirschmann Industrial HiVision External Applications
CVE-2022-4987 affects Hirschmann Industrial HiVision version 08.1.03 prior to 08.1.04 and version 08.2.00. The vulnerability exists in the execution of user-configured external applications and is caused by insufficient path sanitization. A local attacker can place a malicious binary in the execution path of a configured external application so that the malicious program is launched instead of the intended executable. Because the substituted binary may run in the security context of the HiVision process or the configured external application workflow, successful exploitation can lead to arbitrary binary execution and potentially elevated privileges depending on that execution context.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a local attacker to achieve arbitrary code execution on the affected system by hijacking the path resolution used for configured external applications. If the targeted external application is invoked with higher privileges than the attacker already has, the attacker may obtain privilege escalation. The stated CVSS vectors indicate high impact to confidentiality, integrity, and availability, consistent with full compromise of the affected host context.
Mitigation
If you can’t patch tonight, do this now.
Until patches are applied, restrict local access to affected systems and limit which users can modify directories included in the search path used by configured external applications. Use fully qualified absolute paths for all configured external application executables where possible, remove writable directories from executable search paths, and harden file system permissions to prevent low-privileged users from planting malicious binaries in locations that may be searched first. Monitor for unexpected binaries appearing in application path locations and for anomalous execution of external tools by HiVision.
Remediation
Patch, then assume compromise.
Upgrade Hirschmann Industrial HiVision to a fixed release. Based on the provided version information, version 08.1.03 prior to 08.1.04 is affected, so upgrading to 08.1.04 or later on that branch remediates the issue. Version 08.2.00 is also listed as affected; deploy the vendor-provided fixed version for the 08.2 branch as referenced in the Belden security bulletin.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2022-4987 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2022-4987 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2022-4987?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2022-4987.
- Is there a patch for CVE-2022-4987?
- Upgrade Hirschmann Industrial HiVision to a fixed release. Based on the provided version information, version 08.1.03 prior to 08.1.04 is affected, so upgrading to 08.1.04 or later on that branch remediates the issue.
- How severe is CVE-2022-4987?
- CVE-2022-4987 has a CVSS v4 score of 7.0 (High) and an EPSS score of 0.13% (2nd percentile) as of Sep 25, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.