Skip to main content

crewai-tools EUVDEUVD-2026-67268

| CVE-2026-37009 MEDIUM
SQL Injection (CWE-89)
2026-08-27 mitre GHSA-cfvm-24fr-q9xj
6.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify internet-facing CrewAI agent endpoint
  2. Delivery
    Submit crafted natural language query with SQL payload
  3. Exploit
    Agent invokes NL2SQLTool with unsanitized sql_query
  4. Execution
    Injected SQL executes against backend database
  5. Impact
    Exfiltrate or modify database contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target application must be using the crewai-tools NL2SQLTool component version 1.10.2rc1 and must expose an interface - directly or via an AI agent - through which untrusted external input influences the sql_query argument passed to the tool. The CVSS vector (PR:N/UI:N) indicates no authentication and no user interaction is required on the attacker's side, but exploitation is only possible if attacker-controlled data reaches the sql_query parameter, which depends on application design. Limiting factors include: NL2SQLTool being an internal agent tool not inherently internet-exposed; the release candidate version designation limiting deployment scale; and any input validation applied by the host application upstream of the tool. There is no indication that a specific non-default configuration is required - the vulnerability is in the tool's core argument handling.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N) scores 6.5, but the impact metrics C:L/I:L understate the realistic blast radius of arbitrary SQL execution - full database read and write typically warrant C:H/I:H. My independent assessment reflects this (see assessed_cvss_vector). The EPSS score of 0.23% at the 13th percentile suggests low current mass exploitation interest, consistent with no KEV listing and no public exploit code identified. However, the combination of network accessibility with no authentication requirement (PR:N) and trivial attack complexity (AC:L) means exploitation is mechanically straightforward once an attacker reaches the endpoint. Real-world risk is heavily mediated by deployment topology: NL2SQLTool is an agent-internal tool, and whether the sql_query argument is reachable by untrusted external input depends entirely on how the host application is built. Deployments that pipe user-supplied natural language queries through agents to this tool without boundary controls face materially higher risk.

Exploit ScenarioDerived

An attacker submits a crafted natural language query to a web application that uses a CrewAI agent with NL2SQLTool configured; the agent passes the attacker-controlled input as the sql_query argument without sanitization. The injected SQL payload executes against the backend database, allowing the attacker to extract sensitive records or overwrite data. No exploit code has been publicly identified, but the attack pattern is a well-understood textbook SQL injection requiring no specialized tooling.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 31, 2026

SQL injection in the NL2SQLTool component of crewai-tools v1.10.2rc1 exposes any application built on this AI agent framework to arbitrary database query execution by remote unauthenticated attackers. The unsanitized sql_query argument is passed directly to the underlying database engine, enabling classic injection attacks against the connected data store. No public exploit code has been identified at time of analysis, and the EPSS score of 0.23% (13th percentile) indicates low current exploitation activity, though the zero-authentication requirement elevates exposure for internet-facing deployments.

RemediationAI

No specific patched version has been confirmed from the available data; the references do not link to a GitHub release, changelog, or security advisory identifying a fixed version. Immediate compensating controls include: restricting the NL2SQLTool to parameterized query execution by modifying any wrapper code to use prepared statements rather than string interpolation; blocking direct external access to agent endpoints that pipe untrusted input through NL2SQLTool; and applying database-level least-privilege so the connected account cannot read or modify sensitive tables. Monitor the crewai-tools GitHub repository and PyPI releases for a patch and upgrade as soon as a fixed version is published. Until then, treating the sql_query argument as untrusted and applying input validation at the application boundary is the most actionable control. The researcher's page at https://yerangamage.com/cves/detail/?slug=crewai-nl2sql-injection may contain additional remediation details.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

crewai-tools is a Python package extending the CrewAI multi-agent orchestration framework with pre-built tools for agents to use. NL2SQLTool is specifically designed to translate natural language into SQL queries and execute them against a configured database - making it a high-value injection target because SQL generation is its core function. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) identifies the root cause: user-controlled content in the sql_query argument is concatenated into or otherwise passed to SQL execution without parameterization or escaping. The CPE data in the input (cpe:2.3:a:n/a:n/a) is a placeholder and provides no additional product targeting information; affected version is confirmed only by the CVE description as v1.10.2rc1, notably a release candidate.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 9.1 CRITICAL

Arbitrary SQL execution enables full database read and write, warranting C:H/I:H; PR:N retained as sql_query is reachable without credentials per description.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Aug 31, 2026 - 18:22 NVD
6.5 (MEDIUM)
CVE Published
Aug 27, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche AI agent developer framework, not broadly deployed in enterprise
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy