Description
A SQL injection vulnerability in NL2SQLTool in crewai-tools v1.10.2rc1 allows a remote attacker to execute arbitrary SQL commands via an unsanitized sql_query argument.
Published: 2026-08-27
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: SQL Injection leading to arbitrary database commands
Action: Apply Patch
AI Analysis

Impact

ASQL-injection flaw exists in the NL2SQLTool component of crewai-tools v1.10.2rc1. The flaw arises because the sql_query parameter is forwarded directly to the database without proper sanitization, allowing an attacker to inject and execute arbitrary SQL statements. By exploiting this vulnerability, an adversary could read confidential data, modify or delete records, or otherwise disrupt the database, effectively compromising the integrity and confidentiality of the stored information.

Affected Systems

The vulnerability is confined to the crewai-tools package, version 1.10.2rc1, and is only present in its NL2SQLTool module. No broader vendor scope is indicated, and the CNA data lists no additional affected products.

Risk and Exploitability

The CVSS score of 6.5 reflects a medium severity rating. The EPSS score of less than 1% indicates a low probability that this flaw will be actively exploited in the wild, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be a remote request that includes a crafted sql_query argument, typically delivered via an exposed API or web endpoint. Without remediation, a remote attacker could directly execute commands against the database, potentially leading to data exposure or service disruption.

Generated by OpenCVE AI on August 31, 2026 at 19:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade crewai-tools to a version that includes input sanitization for the NL2SQLTool component.
  • Restrict network access to the NL2SQLTool endpoint, limiting it to trusted hosts or internal networks.
  • Implement proper input validation or use parameterized queries within the NL2SQLTool API to eliminate unsanitized command execution.

Generated by OpenCVE AI on August 31, 2026 at 19:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
Title NL2SQLTool SQL Injection in CrewaI Tools

Mon, 31 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 28 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Title NL2SQLTool SQL Injection in CrewaI Tools
Weaknesses CWE-89

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description A SQL injection vulnerability in NL2SQLTool in crewai-tools v1.10.2rc1 allows a remote attacker to execute arbitrary SQL commands via an unsanitized sql_query argument.
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-31T17:37:45.518Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-37009

cve-icon Vulnrichment

Updated: 2026-08-31T17:37:26.449Z

cve-icon NVD

Status : Deferred

Published: 2026-08-27T20:17:41.700

Modified: 2026-09-08T19:42:20.313

Link: CVE-2026-37009

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T20:00:05Z

Weaknesses
  • CWE-89

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