CVE-2026-5012 elecV2 elecV2P rpc pm2run os command injection

Medium 6.9 Published Updated

Remote attackers can execute arbitrary OS commands via the pm2run function in elecV2P, leading to full system compromise.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-5012?

CVE-2026-5012 is a medium-severity command injection vulnerability in elecV2P, published on 28 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw has been found in elecV2 elecV2P up to 3.8.3. This issue affects the function pm2run of the file /rpc. Executing a manipulation can lead to os command injection. The attack can be executed remotely. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2026-5012?

How do I fix CVE-2026-5012?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-5012 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5012 exists.

Sources

Also known as GHSA-j22f-5qx8-xp6w.

Is CVE-2026-5012 in your software?

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

Check your SBOMs for free