CVE-2026-18980
Received Received - Intake

Command Injection in NearAI Ironclaw

Vulnerability report for CVE-2026-18980, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-06

Last updated on: 2026-08-06

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-06
Last Modified
2026-08-06
Generated
2026-08-06
AI Q&A
2026-08-06
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
nearai ironclaw to 0.29.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-18980 is an approval-bypass vulnerability in the IronClaw software's built-in shell tool. It allows malicious commands to execute without user confirmation by exploiting how the tool classifies command risk. The vulnerability affects versions up to 0.29.1 and has been patched.

Detection Guidance

To detect this vulnerability, check if you are running IronClaw versions up to 0.29.1. Inspect the shell tool's command classification logic for improper handling of newline characters or sort commands with --compress-program flags. Review logs for unauthorized command executions or file modifications.

Impact Analysis

This vulnerability could allow attackers to execute arbitrary commands on your system, potentially leading to unauthorized file modification, deletion, or data exfiltration. It bypasses security checks when the shell tool is set to always_allow mode.

Compliance Impact

This vulnerability could lead to unauthorized command execution, potentially allowing access to or modification of sensitive data. For GDPR, this may result in unauthorized data processing or breaches, violating principles of data protection and user rights. For HIPAA, it could enable unauthorized access to protected health information, compromising confidentiality and integrity requirements.

Mitigation Strategies

Immediately update IronClaw to a patched version beyond 0.29.1. Disable the shell tool's AlwaysAllow mode if enabled. Implement stricter command risk classification to block newline-separated commands and sort-based payloads. Review and restrict symlink handling in file operations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-18980. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart