CVE-2022-4987 Hirschmann Industrial HiVision External Application Path Hijacking Leading to Arbitrary Code Execution

High 7.0 Published Updated

A local attacker can execute arbitrary binaries with elevated privileges by hijacking the path of user-configured external applications in Hirschmann Industrial HiVision.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-4987?

CVE-2022-4987 is a high-severity path traversal vulnerability in Belden Hirschmann Industrial HiVision, published on 3 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Hirschmann Industrial HiVision version 08.1.03 prior to 08.1.04 and 08.2.00 contains a vulnerability in the execution of user-configured external applications that allows a local attacker to execute arbitrary binaries. Due to insufficient path sanitization, an attacker can place a malicious binary in the execution path of a configured external application, causing it to be executed instead of the intended application. This can result in execution with elevated privileges depending on the context of the external application.

Weakness: CWE-426

Which versions are affected by CVE-2022-4987?

How do I fix CVE-2022-4987?

No fix has been published for CVE-2022-4987 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-4987 being exploited?

There is no known exploitation of CVE-2022-4987 in the wild and no public exploit code.

Sources

Also known as GHSA-hhvx-m2m7-4wp8.

Is CVE-2022-4987 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free