CVE-2026-40150 PraisonAIAgents has SSRF and Local File Read via Unvalidated URLs in web_crawl Tool
Attackers can force the AI agent to fetch internal resources or local files via unvalidated URLs in the web_crawl tool, leading to data exposure.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-40150?
CVE-2026-40150 is a high-severity server-side request forgery vulnerability in MervinPraison PraisonAIAgents, published on 9 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
PraisonAIAgents is a multi-agent teams system. Prior to 1.5.128, the web_crawl() function in praisonaiagents/tools/web_crawl_tools.py accepts arbitrary URLs from AI agents with zero validation. No scheme allowlisting, hostname/IP blocklisting, or private network checks are applied before fetching. This allows an attacker (or prompt injection in crawled content) to force the agent to fetch cloud metadata endpoints, internal services, or local files via file:// URLs. This vulnerability is fixed in 1.5.128.
Weakness: CWE-918
Which versions are affected by CVE-2026-40150?
3 open source packages ship an affected version, including praisonaiagents. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
praisonaiagents PyPI | All versions | 1.5.128 |
praisonaiagents PyPI | All versions | 1.5.128 |
praisonaiagents PyPI | All versions | 1.5.128 |
Products include Praison Praisonaiagents.
How do I fix CVE-2026-40150?
Upgrade praisonaiagents to 1.5.128 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-40150 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40150 exists.
Other vulnerabilities in MervinPraison PraisonAIAgents
- CVE-2026-34938 PraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code
- CVE-2026-40111 PraisonAIAgents has an OS Command Injection via shell=True in Memory Hooks Executor (memory/hooks.py)
- CVE-2026-34954 PraisonAI: SSRF in FileTools.download_file() via Unvalidated URL
- CVE-2026-34937 PraisonAI: Shell Injection in run_python() via Unescaped $() Substitution
- CVE-2026-44335 SSRF bypass in PraisonAI
Sources
Also known as GHSA-8f4v-xfm9-3244, PYSEC-2026-2945.