CVE-2026-2286: CrewAI: SSRF via unvalidated RAG tool URLs exposes internal services
CRITICAL CISA: TRACK*CrewAI's RAG search tools accept arbitrary URLs at runtime without validation, enabling SSRF attacks that can reach internal APIs, cloud metadata endpoints (AWS IMDSv1, GCP metadata), and private services. Any deployment exposing CrewAI agents to untrusted input is at risk of internal network traversal and credential theft. Restrict network egress from CrewAI deployments immediately and audit URL sources passed to RAG tools pending a patch.
What is the risk?
HIGH risk for cloud-deployed CrewAI agents. SSRF in agent frameworks is particularly dangerous because agents operate with elevated trust and broad tool access. Attackers can pivot from SSRF to credential harvesting via cloud metadata endpoints (IMDSv1 returns IAM keys with no auth), internal API enumeration, and lateral movement. Exploitability is trivial for anyone with input access to the agent. The absence of CVSS scoring does not diminish real-world severity — SSRF-to-cloud-metadata chains have been weaponized repeatedly in production environments.
Severity & Risk
Attack Surface
What should I do?
6 steps-
PATCH
Monitor CrewAI GitHub and apply fix immediately when released; pin to patched version.
-
NETWORK
Restrict outbound HTTP from CrewAI agent hosts using egress firewall rules — whitelist only required external domains.
-
BLOCK METADATA
If running on cloud (AWS/GCP/Azure), enforce IMDSv2 (hop-limit 1) and block 169.254.169.254 at host firewall.
-
INPUT VALIDATION
Until patched, wrap RAG tool URL inputs with an allowlist validator rejecting private IP ranges (RFC1918: 10/8, 172.16/12, 192.168/16) and metadata IPs.
-
DETECT
Alert on outbound connections from agent processes to RFC1918 ranges or metadata endpoints.
-
AUDIT
Review agent logs for unexpected internal HTTP requests.
CISA SSVC Assessment
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
Classification
Compliance Impact
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-2286?
CrewAI's RAG search tools accept arbitrary URLs at runtime without validation, enabling SSRF attacks that can reach internal APIs, cloud metadata endpoints (AWS IMDSv1, GCP metadata), and private services. Any deployment exposing CrewAI agents to untrusted input is at risk of internal network traversal and credential theft. Restrict network egress from CrewAI deployments immediately and audit URL sources passed to RAG tools pending a patch.
Is CVE-2026-2286 actively exploited?
No confirmed active exploitation of CVE-2026-2286 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-2286?
1. PATCH: Monitor CrewAI GitHub and apply fix immediately when released; pin to patched version. 2. NETWORK: Restrict outbound HTTP from CrewAI agent hosts using egress firewall rules — whitelist only required external domains. 3. BLOCK METADATA: If running on cloud (AWS/GCP/Azure), enforce IMDSv2 (hop-limit 1) and block 169.254.169.254 at host firewall. 4. INPUT VALIDATION: Until patched, wrap RAG tool URL inputs with an allowlist validator rejecting private IP ranges (RFC1918: 10/8, 172.16/12, 192.168/16) and metadata IPs. 5. DETECT: Alert on outbound connections from agent processes to RFC1918 ranges or metadata endpoints. 6. AUDIT: Review agent logs for unexpected internal HTTP requests.
What systems are affected by CVE-2026-2286?
This vulnerability affects the following AI/ML architecture patterns: Agent frameworks, RAG pipelines, Multi-agent systems, Cloud-deployed AI workloads.
What is the CVSS score for CVE-2026-2286?
CVE-2026-2286 has a CVSS v3.1 base score of 9.8 (CRITICAL). The EPSS exploitation probability is 0.06%.
Technical Details
NVD Description
CrewAI contains a server-side request forgery vulnerability that enables content acquisition from internal and cloud services, facilitated by the RAG search tools not properly validating URLs provided at runtime.
Exploitation Scenario
Attacker submits a document to a CrewAI RAG-enabled agent containing a URL pointing to http://169.254.169.254/latest/meta-data/iam/security-credentials/ (AWS metadata endpoint). The agent's RAG search tool, lacking URL validation, fetches this URL, and the response — containing temporary IAM credentials — is ingested into the agent's context. The agent may include this data in its response or the attacker retrieves it via a follow-up prompt. With the IAM credentials, the attacker pivots to the AWS control plane for further access. Alternatively, the attacker targets internal APIs (http://internal-api:8080/admin) to enumerate or exfiltrate sensitive data from services co-located on the private network.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H References
Timeline
Related Vulnerabilities
CVE-2026-21858 10.0 n8n: Input Validation flaw enables exploitation
Same attack type: Data Extraction CVE-2025-53767 10.0 Azure OpenAI: SSRF EoP, no auth required (CVSS 10)
Same attack type: Data Extraction CVE-2023-3765 10.0 MLflow: path traversal allows arbitrary file read
Same attack type: Data Extraction CVE-2025-2828 10.0 LangChain RequestsToolkit: SSRF exposes cloud metadata
Same attack type: Data Extraction GHSA-vvpj-8cmc-gx39 10.0 picklescan: security flaw enables exploitation
Same attack type: Auth Bypass