CVE-2026-57126 praisonaiagents: SSRF guard validates literal IPs only and never resolves DNS
Attacker-controlled hostnames bypass SSRF checks to access internal resources, exposing sensitive data to the AI agent.
- 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-57126?
CVE-2026-57126 is a high-severity server-side request forgery vulnerability in MervinPraison PraisonAI, published on 14 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.58, SpiderTools._validate_url calls _host_is_blocked, which checks literal host encodings but does not resolve DNS names before scrape_page, crawl, extract_links, extract_text, or URL-mention fetches connect. An attacker-controlled hostname resolving to a loopback, private, link-local, or cloud-metadata address therefore bypasses the SSRF policy without a rebinding race and can expose internal responses to the agent. This issue is fixed in praisonaiagents 1.6.58.
Weakness: CWE-918
Which versions are affected by CVE-2026-57126?
3 open source packages ship an affected version, including praisonaiagents.
| Package | Affected | Fixed in |
|---|---|---|
praisonaiagents PyPI | All versions | 1.6.59 |
praisonaiagents PyPI | All versions | 1.6.59 |
praisonaiagents PyPI | All versions | 1.6.59 |
How do I fix CVE-2026-57126?
Upgrade praisonaiagents to 1.6.59 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-57126 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57126 exists.
Sources
Also known as GHSA-vxgj-xg5c-p4h7, PYSEC-2026-3535.