PraisonAIAgents has SSRF and Local File Read via Unvalidated URLs in web_crawl Tool
CVE-2026-40150 · GHSA-8f4v-xfm9-3244 · published 2026-04-10
- Severity
- High
- CVSS score
- 7.7
- Chance of exploitation (EPSS)
- 0.28%
- Fixed in
- 1.5.128
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
Cloud credential theft: Agents running on AWS/GCP/Azure can have their instance IAM credentials stolen via metadata endpoint access, enabling lateral movement in cloud environments Internal service discovery and data exfiltration: Attackers can probe and access internal network services not exposed to the internet Local file read: When the urllib fallback is active (httpx not installed), arbitrary local files can be read via file:// URLs, exposing secrets, configuration files, and credentials Redirect-based bypass: Even if a partial URL filter were added, follow_redirects=True allows attackers to redirect through an external server to internal targets
Upgrade praisonaiagents to 1.5.128 or later.
Add URL validation before any HTTP request is made. Create a validateurl() function and call it in webcrawl() before dispatching to providers: Then in webcrawl(), validate before dispatching: Additionally, disable redirect following or re-validate the redirect target URL by using a custom transport or event hook in httpx.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| praisonaiagents | PyPI | < 1.5.128 | 1.5.128 |
- CriticalMLflow: Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebindingmlflowExploited
- Critical@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery@zereight/mcp-gitlab
- CriticalSSRF + LLM API key exfiltration via user-controlled basepath / baseUrl in 8 chat-model nodesflowise, flowise-components
- CriticalLocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLsgithub.com/mudler/LocalAI
- CriticalFastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerabilityfastmcp
- CriticalBentoML SSRF Vulnerability in File Upload Processingbentoml
- CriticalPraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secretspraisonaiagents
- CriticalPraisonAI: Unauthenticated RCE via Jobs API + Approval Bypasspraisonaiagents, praisonai
- CriticalPraisonAI: MCP SSE transport binds 0.0.0.0 with no authentication and no Origin validation; bundled SecurityConfig is never wired inpraisonaiagents
- CriticalPraisonAI AgentTeam.launch exposes unauthenticated remote agent listing and invocation endpointspraisonaiagents
- CriticalPraisonAI vulnerable to sandbox escape via `print.__self__` builtins module leak in `execute_code` (subprocess mode)praisonaiagents, praisonai
- CriticalPraisonAI Browser Server allows unauthenticated WebSocket clients to hijack connected extension sessionspraisonaiagents, praisonai
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.