CVE-2026-55525: PraisonAI web_crawl SSRF via redirect-following

CVE-2026-55525 · Severity: high · CVSS 7.5 · Published 2026-08-25

PraisonAI's web_crawl tool—a standard feature used by AI agents to fetch web content—only validates the initial URL's IP address against a blocklist of private and internal networks. However, when the server responds with an HTTP redirect, the tool follows it without re-validating the destination, allowing attackers to redirect legitimate public URLs to cloud metadata services or internal systems. An attacker who can influence what the agent crawls (through task instructions or prompt injection) can steal cloud IAM credentials, access localhost services, and retrieve other internal data.

Technologies: praisonaiagents (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2026-55525 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-55525 being exploited in the wild.
How severe is CVE-2026-55525?
High severity, with a CVSS score of 7.5, published 25 August 2026.
Which products and versions are affected?
praisonaiagents (PyPI) ECOSYSTEM:introduced=0,fixed=1.6.58.
Is there a fix for CVE-2026-55525?
Yes. praisonaiagents (PyPI): upgrade to 1.6.58 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-55525 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-55525?
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.58 or later
    pip install "praisonaiagents>=1.6.58"

Technical details

The vulnerability is a classic SSRF (CWE-918) bypass in the web_crawl tool's HTTP redirect handling. The tool validates only the initial hostname against a blocklist of loopback, private, link-local, multicast, and unspecified IP ranges using socket.gethostbyname() at line 231 of web_crawl_tools.py. However, the HTTP client (httpx.Client with follow_redirects=True at line 142) automatically follows 3xx redirects without re-validating the redirect target against the same blocklist. An attacker supplies a public URL that responds with a 302 Location header pointing to an internal address (e.g., 169.254.169.254 for AWS metadata or 127.0.0.1 for localhost), bypassing the initial IP check. The fetched internal response body is returned into the agent context and exposed to the model, logs, and downstream tools. This is the default behavior with httpx as the crawl provider; the vulnerability requires only that ALLOW_LOCAL_CRAWL is not explicitly set to true and the agent's crawl target is controllable by an attacker.

Affected products

  • MervinPraison praisonaiagents < 1.6.58

Identifiers

  • CVE-2026-55525
  • GHSA-5r34-2g38-6569
  • PYSEC-2026-3898

Timeline

  • 2026-08-25: disclosed
  • 2026-08-25: patched: Version 1.6.58 patches the vulnerability
  • 2026-08-25: kev added

References

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