Skip to main content

PraisonAI EUVDEUVD-2026-53606

| CVE-2026-55524 HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-08-05 security-advisories@github.com GHSA-vg6p-v9vm-6fgj
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker controls or injects URL into web_crawl() input
  2. Delivery
    Redirect server or DNS rebind infrastructure returns public IP at SSRF check time
  3. Exploit
    socket.gethostbyname check passes on public IP
  4. Execution
    httpx/urllib follows redirect or re-resolves hostname to internal IP
  5. Persist
    PraisonAI host connects to loopback, RFC1918, or cloud metadata endpoint
  6. Impact
    Internal service response body returned in web_crawl() result

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

The attacker must be able to influence URLs passed to the web_crawl() tool, either by directly supplying a URL (e.g., through a web interface or API) or by injecting a crafted URL into content that an AI agent workflow autonomously feeds to web_crawl(). The attacker must additionally control external infrastructure: either (1) a web server capable of issuing HTTP 3xx redirects to internal IP addresses after the SSRF check completes, or (2) a DNS server capable of DNS rebinding - returning a public IP on the first resolution and an internal/loopback IP on subsequent resolutions within the same TTL window. Exploitation is limited by: the AC:H requirement for pre-positioned redirect or DNS rebinding infrastructure; network reachability - the PraisonAI host must have network-level access to the targeted internal endpoint; and cloud environments enforcing IMDSv2 (token-required) partially limit the metadata-theft worst case. If PraisonAI is deployed in an air-gapped or strictly egress-filtered environment, reachability of internal targets is constrained regardless of the code flaw.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N yields a 7.5 HIGH score. Attack Complexity is rated High (AC:H), reflecting that exploitation requires pre-positioned infrastructure: either a redirect-capable server under attacker control or a functioning DNS rebinding setup, both non-trivial preconditions. The Scope change (S:C) and High confidentiality impact (C:H) are well-justified: successful exploitation can yield cloud IAM credentials via metadata services (e.g., IMDSv1) or internal API responses, consequences that extend well beyond the PraisonAI process. No EPSS score is available in the provided data; no KEV listing exists. There is no confirmed public proof-of-concept at time of analysis. Real-world risk is conditional on whether an attacker can influence URLs fed to web_crawl() - in automated agent pipelines processing untrusted content, this is a realistic attack surface. Deployments with strict network egress controls limiting PraisonAI's outbound connectivity to only approved external hosts would substantially reduce exposure. The absence of KEV listing and the AC:H prerequisite suggest this is not currently under widespread automated scanning, but targeted exploitation against cloud-hosted PraisonAI instances is a credible threat given the cloud-metadata angle.

Exploit ScenarioDerived

An attacker embedding a malicious URL in content processed by a PraisonAI agent workflow - for example, a webpage whose text instructs the agent to call web_crawl() on an attacker-controlled domain - sets their DNS server to initially return a public IP, causing the SSRF check to pass, then switches the DNS record to 169.254.169.254 before the httpx connection is established. The cloud metadata service responds with IAM role credentials, which are returned in the web_crawl() result and accessible to the attacker. No public proof-of-concept has been confirmed, but DNS rebinding toolkits are widely available, making this scenario technically feasible for a motivated attacker.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Server-Side Request Forgery (SSRF) bypass in PraisonAI's web_crawl tool prior to version 1.6.58 enables unauthenticated network attackers to reach internal network resources, loopback interfaces, and cloud metadata endpoints (such as AWS IMDS) from the PraisonAI host. The protection bypass exploits a validate-here/fetch-there gap (CWE-367 TOCTOU): the hostname is validated once with socket.gethostbyname but then re-resolved at connect time by httpx or urllib with redirect-following enabled, allowing HTTP redirect chains or DNS rebinding to steer the final connection to attacker-chosen internal destinations. No public exploit code or active exploitation has been identified at time of analysis; a fix is available in version 1.6.58.

RemediationAI

Upgrade PraisonAI to version 1.6.58 or later, which resolves the validate-here/fetch-there gap. See the vendor security advisory at https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-vg6p-v9vm-6fgj for release details. If immediate upgrade is not possible, restrict the network egress of the PraisonAI host using firewall or security-group rules to deny outbound connections to RFC1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback (127.0.0.0/8), and link-local (169.254.0.0/16) including the cloud metadata endpoint 169.254.169.254; this does not fix the code flaw but breaks the reachability precondition. Note that egress filtering alone does not protect against rebinding to other internal hosts reachable via routing if rules are not comprehensive. Additionally, enabling AWS IMDSv2 (token-required mode) on EC2 instances hosting PraisonAI blocks metadata retrieval via simple GET requests, reducing the worst-case credential-theft impact. Avoid exposing the web_crawl tool to untrusted URL input sources in agent workflows until the patch is applied.

Affected VersionsENISA

PraisonAI < 1.6.58

Affected Packages

pypi praisonaiagents fix: 1.6.58
euvd praisonai fix: 1.6.58

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PraisonAI is a Python-based multi-agent AI orchestration framework. Its web_crawl tool is intended to retrieve external web content for agent workflows. The SSRF mitigation calls socket.gethostbyname once and rejects RFC1918, loopback (127.0.0.0/8), and link-local (169.254.0.0/16) addresses. However, the validated URL is then passed to httpx.Client(follow_redirects=True), or to urllib.request.urlopen as a fallback, both of which perform an independent DNS resolution at TCP connect time with no subsequent IP validation. CWE-367 (Time-of-check Time-of-use Race Condition) precisely describes this class of defect: the security-relevant property (destination IP) is checked at one moment and consumed at another, and an attacker can alter the mapping between those two points. Exploitation paths include (1) HTTP redirect: attacker controls a public server that returns a 3xx redirect to an internal address after the check completes, and (2) DNS rebinding: attacker's DNS server returns a public IP for the initial resolution but switches to 127.0.0.1 or a cloud-metadata IP (169.254.169.254) on subsequent lookups, exploiting TTL expiry between the check and the fetch.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
vuln.today AI 7.5 HIGH

AV:N and PR:N because influence over web_crawl() URLs can be achieved without credentials; AC:H because DNS rebinding or redirect infrastructure is required; S:C and C:H reflect cloud-metadata credential access beyond the vulnerable component.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Aug 05, 2026 - 21:03 EUVD
CVE Published
Aug 05, 2026 - 20:17 cve.org
HIGH 7.5

DescriptionCVE.org

PraisonAI is a multi-agent teams system. In versions prior to 1.6.58, the web_crawl tool performs its SSRF check only on the initially supplied URL, allowing the protection to be bypassed so the tool connects to attacker-chosen internal destinations. The check resolves the hostname once with socket.gethostbyname and rejects private/loopback/link-local results, but then passes the URL to a fetcher using httpx.Client(follow_redirects=True) (or urllib.request.urlopen when httpx is absent, which also follows redirects) that re-resolves the hostname at connect time with no further validation. This validate-here/fetch-there gap is exploitable through both HTTP redirects and DNS rebinding. If an attacker can influence URLs passed to web_crawl(), directly or through an agent/tool workflow, they can cause the PraisonAI host to fetch loopback, private-network, or cloud metadata endpoints reachable from that host, with the response body returned in the web_crawl() result. This issue has been fixed in version 1.6.58.

Executive ViewAI

Why It Matters

CVE-2026-55524 is a high-severity SSRF vulnerability in PraisonAI's web_crawl tool (versions prior to 1.6.58) that permits unauthenticated attackers to bypass URL validation controls and access internal systems, loopback interfaces, and AWS metadata endpoints from the PraisonAI host. This exposure creates a direct pathway for attackers to steal cloud credentials through AWS IMDS access and pivot within internal networks without requiring authentication. Organizations running affected versions face material risk to cloud infrastructure security and internal system compromise.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade PraisonAI to version 1.6.58 or later.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche AI multi-agent Python framework, limited enterprise footprint
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy