Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-facing CrewAI agent endpoint
-
DeliverySubmit crafted natural language query with SQL payload
-
ExploitAgent invokes NL2SQLTool with unsanitized sql_query
-
ExecutionInjected SQL executes against backend database
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
EUVD-2026-67268
GHSA-cfvm-24fr-q9xj
NVD
CVE.org
EPSS
Exploit-DB