CVE-2026-102874 HKUDS AnyTool Execute Endpoint main.py subprocess.run os command injection

Medium 6.9 Published Updated

Remote attackers can execute arbitrary OS commands via the Execute Endpoint in HKUDS AnyTool due to unsafe subprocess usage.

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-102874?

CVE-2026-102874 is a medium-severity command injection vulnerability in HKUDS AnyTool, published on 30 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was identified in HKUDS AnyTool 0.1.0. Affected is the function subprocess.run of the file anytool/local_server/main.py of the component Execute Endpoint. The manipulation of the argument command/shell leads to os command injection. It is possible to initiate the attack remotely. The exploit is publicly available and might 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-102874?

How do I fix CVE-2026-102874?

No fix has been published for CVE-2026-102874 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-102874 being exploited?

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

Sources

Also known as GHSA-6cjx-pvcp-jvqq.

Is CVE-2026-102874 in your software?

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

Check your SBOMs for free