PraisonAIAgents: SSRF via unvalidated URL in `web_crawl` httpx fallback
CVE-2026-40160 · GHSA-qq9r-63f6-v542 · published 2026-04-10
- Severity
- High
- CVSS score
- 7.1
- Chance of exploitation (EPSS)
- 0.47%
- Fixed in
- 1.5.128
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
| Tool | Internal network blocked? | |------|---------------------------| | | No | On cloud infrastructure with IMDSv1, this gets you IAM credentials from the metadata service. On any deployment, it exposes whatever internal services the host can reach. No authentication is needed -- the attacker just needs the agent to process input that triggers a web_crawl call to an internal address.
Upgrade praisonaiagents to 1.5.128 or later.
Add URL validation before the httpx request. The private-IP check from file_tools.py can be extracted into a shared utility:
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| praisonaiagents | PyPI | >= 0.13.23, < 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.