CVE-2026-18980 nearai ironclaw shell.rs classify_command_risk command injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary commands via the classify_command_risk function in the nearai ironclaw library.

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

What is CVE-2026-18980?

CVE-2026-18980 is a medium-severity command injection vulnerability in nearai ironclaw, published on 6 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was identified in nearai ironclaw up to 0.29.1. Affected is the function classify_command_risk of the file src/tools/builtin/shell.rs. Such manipulation leads to command injection. The attack may be launched remotely. The exploit is publicly available and might be used. The name of the patch is a1d7c3ba428ed575900469b207fb5668725f9a71. Applying a patch is advised to resolve this issue.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2026-18980?

How do I fix CVE-2026-18980?

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

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

Sources

Also known as GHSA-cw23-qwr7-c655.

Is CVE-2026-18980 in your software?

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

Check your SBOMs for free