CVE-2026-57126: PraisonAI SpiderTools SSRF bypass via DNS resolution

CVE-2026-57126 · Severity: high · CVSS 8.5 · Published 2026-09-14

PraisonAI is a multi-agent AI system that includes web scraping and data extraction tools. A vulnerability in its URL validation allows attackers to bypass security policies and access internal services (such as cloud metadata endpoints or loopback services) by providing hostnames that resolve to private IP addresses, potentially exposing sensitive internal data to unauthorized access.

Technologies: praisonaiagents (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2026-57126 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-57126 being exploited in the wild.
How severe is CVE-2026-57126?
High severity, with a CVSS score of 8.5, published 14 September 2026.
Which products and versions are affected?
praisonaiagents (PyPI) ECOSYSTEM:introduced=0,fixed=1.6.59.
Is there a fix for CVE-2026-57126?
Yes. praisonaiagents (PyPI): upgrade to 1.6.59 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-57126 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-57126?
Check whether you run praisonaiagents (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • praisonaiagents (PyPI): upgrade to 1.6.59 or later
    pip install "praisonaiagents>=1.6.59"

Technical details

The vulnerability is a Server-Side Request Forgery (SSRF) bypass in SpiderTools._validate_url. The _host_is_blocked function performs only literal hostname checks but does not resolve DNS names before making requests via scrape_page, crawl, extract_links, extract_text, or URL-mention fetches. An attacker can provide a domain name that resolves to loopback, private, link-local, or cloud-metadata addresses, bypassing the SSRF policy without requiring a rebinding race condition. This allows exposure of internal HTTP responses to the agent. The vulnerability affects praisonaiagents versions prior to 1.6.58, with a fix committed on 2026-06-13.

Affected products

  • PraisonAI praisonaiagents prior to 1.6.58

Identifiers

  • CVE-2026-57126
  • GHSA-vxgj-xg5c-p4h7
  • PYSEC-2026-3535

Timeline

  • 2026-09-14: disclosed
  • 2026-06-13: patched: Fix committed; version 1.6.58 released

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.