CVE-2026-57126: praisonaiagents: SSRF guard validates literal IPs only and never resolves DNS

Published Sep 14, 2026
·
Updated

PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.58, SpiderTools.validateurl calls hostisblocked, which checks literal host encodings but does not resolve DNS names before scrapepage, crawl, extractlinks, extracttext, 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.

Affected Software

1 affected component
praisonaiagents<1.6.58

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade praisonaiagents to a version that resolves this vulnerability.

    Fixed in 1.6.58
  2. Compensating control

    Harden network egress so the agent cannot reach loopback (127.0.0.0/8), private RFC1918 ranges, link-local addresses, or cloud metadata IPs, even if SSRF guard is bypassed via DNS names.

Event History

Sep 14, 2026
CVE Published
via MITRE·02:49 PM
Data Sourced
via MITRE·02:49 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using praisonaiagents versions earlier than 1.6.58 are affected when SpiderTools performs scrape_page, crawl, extract_links, extract_text, or URL-mention fetches against attacker-influenced hostnames.

2

What does an attacker need to exploit this issue?

An attacker needs the ability to cause one of the affected SpiderTools operations to fetch a hostname they control. That hostname must resolve to a loopback, private, link-local, or cloud-metadata address; no DNS rebinding race is required.

3

What could an attacker access?

The SSRF policy can be bypassed, allowing the agent to connect to internal addresses and potentially expose the responses it receives. The issue can reach loopback, private, link-local, and cloud-metadata endpoints.

4

How can the issue be remediated?

Upgrade praisonaiagents to version 1.6.58 or later. The fix resolves DNS names rather than validating only literal IP address encodings.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203