CVE-2026-40150 PraisonAIAgents has SSRF and Local File Read via Unvalidated URLs in web_crawl Tool

High 7.7 Published Updated

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.

PackageAffectedFixed in
praisonaiagents PyPIAll versions1.5.128
praisonaiagents PyPIAll versions1.5.128
praisonaiagents PyPIAll versions1.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.

Sources

Also known as GHSA-8f4v-xfm9-3244, PYSEC-2026-2945.

Is CVE-2026-40150 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free