The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-40160

CVE-2026-40160: PraisonAIAgents SSRF Vulnerability

CVE-2026-40160 is an SSRF vulnerability in PraisonAIAgents that allows LLM agents to access internal URLs, cloud metadata endpoints, and localhost. This article covers the technical details, affected versions, and mitigation.

Published: April 17, 2026

CVE-2026-40160 Overview

CVE-2026-40160 is a Server-Side Request Forgery (SSRF) vulnerability in PraisonAIAgents, a multi-agent teams system. Prior to version 1.5.128, the web_crawl function's httpx fallback path passes user-supplied URLs directly to httpx.AsyncClient.get() with follow_redirects=True and no host validation. This allows an LLM agent tricked into crawling an internal URL to reach cloud metadata endpoints, internal services, and localhost resources.

Critical Impact

An attacker can leverage this SSRF vulnerability to access sensitive cloud metadata endpoints (169.254.169.254), internal network services, and localhost resources. Response content is returned to the agent and may appear in output visible to the attacker, enabling information disclosure from protected internal systems.

Affected Products

  • PraisonAIAgents versions prior to 1.5.128
  • Default installations without Tavily key configured
  • Installations without Crawl4AI installed (using httpx fallback path)

Discovery Timeline

  • 2026-04-10 - CVE-2026-40160 published to NVD
  • 2026-04-13 - Last updated in NVD database

Technical Details for CVE-2026-40160

Vulnerability Analysis

This vulnerability is classified as CWE-918 (Server-Side Request Forgery). The root issue lies in the web_crawl function's fallback mechanism when neither Tavily nor Crawl4AI are available. In this default configuration on fresh PraisonAI installations, the code uses httpx.AsyncClient.get() to fetch URLs without any validation of the target host.

The attack requires network access and some user interaction, as an LLM agent must be tricked into processing a malicious URL. However, once exploited, the vulnerability provides high confidentiality impact on both the vulnerable system and subsequent systems, with limited integrity impact on downstream systems.

Root Cause

The vulnerability stems from insufficient input validation in the httpx fallback crawl path. The web_crawl function accepts user-supplied URLs and passes them directly to the HTTP client without implementing any allowlist or blocklist for target hosts. Combined with follow_redirects=True, this allows attackers to redirect requests to arbitrary internal endpoints.

The absence of host validation means the application will happily make requests to:

  • Cloud metadata services at 169.254.169.254
  • Internal network services on private IP ranges
  • Localhost services on 127.0.0.1

Attack Vector

The attack is network-based and exploits the trust relationship between the LLM agent and the web_crawl function. An attacker can craft prompts or inject content that causes the LLM agent to request internal URLs through the vulnerable crawl function.

A typical attack scenario involves:

  1. The attacker crafts input that tricks the LLM agent into crawling a URL pointing to http://169.254.169.254/latest/meta-data/
  2. The httpx fallback path makes the request without validation
  3. Cloud metadata (including potential IAM credentials) is returned to the agent
  4. The response content appears in output accessible to the attacker

For technical details and the specific code paths involved, see the GitHub Security Advisory.

Detection Methods for CVE-2026-40160

Indicators of Compromise

  • Outbound HTTP requests from the PraisonAI application to internal IP addresses (10.x.x.x, 172.16.x.x-172.31.x.x, 192.168.x.x)
  • Requests to cloud metadata endpoints at 169.254.169.254
  • Unusual requests to localhost (127.0.0.1) from the application process
  • HTTP traffic patterns showing redirects from external URLs to internal targets

Detection Strategies

  • Monitor network traffic from PraisonAI instances for connections to RFC1918 private addresses
  • Implement alerting for any requests to the AWS/GCP/Azure metadata service IP (169.254.169.254)
  • Log and analyze all URLs processed by the web_crawl function
  • Deploy network segmentation to detect lateral movement attempts from AI agent servers

Monitoring Recommendations

  • Enable verbose logging for httpx client requests in PraisonAI deployments
  • Configure SIEM rules to alert on metadata endpoint access patterns
  • Monitor for unusual data volumes in LLM agent outputs that may indicate successful SSRF exploitation
  • Implement egress filtering and log all denied connection attempts from application servers

How to Mitigate CVE-2026-40160

Immediate Actions Required

  • Upgrade PraisonAIAgents to version 1.5.128 or later immediately
  • If immediate upgrade is not possible, configure a Tavily API key or install Crawl4AI to avoid the vulnerable httpx fallback path
  • Implement network-level controls to block outbound requests to internal IP ranges and metadata endpoints from AI agent servers
  • Review logs for any historical evidence of SSRF exploitation

Patch Information

The vulnerability is fixed in PraisonAIAgents version 1.5.128. The fix implements proper host validation to prevent requests to internal addresses and cloud metadata endpoints. For detailed patch information, refer to the GitHub Security Advisory.

Workarounds

  • Deploy network firewall rules to block outbound connections from PraisonAI servers to internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16)
  • Block all connections to the metadata service IP 169.254.169.254 at the network level
  • Configure a Tavily API key to bypass the vulnerable httpx fallback code path
  • Install Crawl4AI as an alternative crawling backend that may include its own validation
bash
# Network-level mitigation: Block metadata and internal access with iptables
# Block cloud metadata endpoint
iptables -A OUTPUT -d 169.254.169.254 -j DROP

# Block private IP ranges (example for 10.x.x.x)
iptables -A OUTPUT -d 10.0.0.0/8 -j DROP

# Upgrade to patched version
pip install --upgrade praisonaiagents>=1.5.128

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechPraisonai

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34936: PraisonAI SSRF Vulnerability

  • CVE-2026-40315: PraisonAI SQL Injection Vulnerability

  • CVE-2026-40287: PraisonAI RCE Vulnerability

  • CVE-2026-40313: PraisonAI Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English