{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.29.0"
              },
              {
                "last_affected": "0.29.0"
              },
              {
                "introduced": "0.29.1"
              },
              {
                "last_affected": "0.29.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "f0abd23b9ecfff5c9ce7b0177002c602e8d3344f"
            },
            {
              "fixed": "a1d7c3ba428ed575900469b207fb5668725f9a71"
            }
          ],
          "repo": "https://github.com/nearai/ironclaw",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.29.0",
        "0.29.1"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-74",
      "CWE-77"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18980.json"
  },
  "details": "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.",
  "id": "CVE-2026-18980",
  "modified": "2026-08-12T03:51:49.245666549Z",
  "published": "2026-08-06T02:00:16.575Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/nearai/ironclaw/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18980.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-18980"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-18980"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/862542"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/862543"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/862544"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/862545"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/862546"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/386265"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/nearai/ironclaw/issues/4861"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/nearai/ironclaw/issues/4862"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/386265/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nearai/ironclaw/commit/a1d7c3ba428ed575900469b207fb5668725f9a71"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nearai/ironclaw/pull/4869"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "nearai ironclaw shell.rs classify_command_risk command injection"
}