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.
Published: 2026-08-06
Score: 5.3 Medium
EPSS: 1.3% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A vulnerability exists in Nearai Ironclaw up to version 0.29.1 in the classify_command_risk function within src/tools/builtin/shell.rs. The flaw allows attackers to inject arbitrary shell commands, potentially executing malicious code with the privileges of the Ironclaw service. This weakness would compromise confidentiality, integrity, and availability of the affected system, allowing the attacker to extract sensitive data, modify or delete files, or use the host as a foothold for further attacks. The weakness is represented by CWE‑74 and CWE‑77.

Affected Systems

All releases of Nearai Ironclaw, including every version up to and including 0.29.1, are vulnerable. Newer releases incorporating the patch from commit a1d7c3ba428ed575900469b207fb5668725f9a71 provide remediation.

Risk and Exploitability

The vulnerability can be exploited remotely and a publicly available exploit has been identified. The CVSS score of 5.3 indicates moderate severity, but the EPSS score of 1% indicates a very low but nonzero likelihood of exploitation. The issue is not currently listed in CISA’s KEV catalog. An attacker could leverage this flaw by sending crafted input to the classify_command_risk interface from an external network, provided the interface is reachable. If no network segmentation or authentication controls are in place, the attack surface is wide. Given the public availability of the exploit, it is advisable to treat this exposure as a likely risk.

Generated by OpenCVE AI on August 6, 2026 at 15:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch from commit a1d7c3ba428ed575900469b207fb5668725f9a71 to Ironclaw version 0.29.1 or later
  • Configure firewall or network segmentation to restrict external access to the classify_command_risk endpoint
  • Enforce authentication or role‑based access controls so that only authorized users can invoke classify_command_risk

Generated by OpenCVE AI on August 6, 2026 at 15:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 06 Aug 2026 02:15:00 +0000

Type Values Removed Values Added
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.
Title nearai ironclaw shell.rs classify_command_risk command injection
First Time appeared Nearai
Nearai ironclaw
Weaknesses CWE-74
CWE-77
CPEs cpe:2.3:a:nearai:ironclaw:*:*:*:*:*:*:*:*
Vendors & Products Nearai
Nearai ironclaw
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-06T14:55:39.226Z

Reserved: 2026-08-05T16:44:44.329Z

Link: CVE-2026-18980

cve-icon Vulnrichment

Updated: 2026-08-06T14:55:00.599Z

cve-icon NVD

Status : Deferred

Published: 2026-08-06T02:16:41.620

Modified: 2026-08-12T21:00:37.147

Link: CVE-2026-18980

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T15:15:12Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')