CVE-2026-55524: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in MervinPraison PraisonAI
CVE-2026-55524 is a high-severity TOCTOU race condition vulnerability in MervinPraison PraisonAI versions prior to 1.6.58. The web_crawl tool performs a server-side request forgery (SSRF) check only on the initially supplied URL, but the actual fetch operation re-resolves the hostname without revalidating it. This allows attackers to bypass protections via HTTP redirects or DNS rebinding to cause the host to fetch internal or cloud metadata endpoints. The vulnerability has been fixed in version 1.6.58.
AI Analysis
Technical Summary
PraisonAI's web_crawl tool validates the hostname of a URL once using socket.gethostbyname to block private, loopback, or link-local addresses. However, the URL is later fetched using httpx.Client or urllib.request.urlopen, both of which follow redirects and re-resolve the hostname without further validation. This time-of-check to time-of-use (TOCTOU) race condition allows attackers who can influence URLs passed to web_crawl() to bypass SSRF protections and access internal network resources or cloud metadata endpoints. The issue is addressed in PraisonAI version 1.6.58.
Potential Impact
An attacker able to supply or influence URLs to the web_crawl tool can cause the PraisonAI host to make unauthorized requests to internal network addresses, loopback interfaces, or cloud metadata services. This can lead to disclosure of sensitive internal information (confidentiality impact) and partial integrity impact due to unauthorized data retrieval. There is no impact on availability. The CVSS 3.1 base score is 7.5 (high), reflecting network attack vector, high complexity, no privileges or user interaction required, and scope change.
Mitigation Recommendations
A fix is available in PraisonAI version 1.6.58. Users should upgrade to this version or later to remediate the vulnerability. Until upgraded, avoid passing untrusted URLs to the web_crawl tool or ensure additional validation on URLs before use. Patch status is not explicitly stated beyond the fixed version; check vendor advisories for further guidance.
CVE-2026-55524: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in MervinPraison PraisonAI
Description
CVE-2026-55524 is a high-severity TOCTOU race condition vulnerability in MervinPraison PraisonAI versions prior to 1.6.58. The web_crawl tool performs a server-side request forgery (SSRF) check only on the initially supplied URL, but the actual fetch operation re-resolves the hostname without revalidating it. This allows attackers to bypass protections via HTTP redirects or DNS rebinding to cause the host to fetch internal or cloud metadata endpoints. The vulnerability has been fixed in version 1.6.58.
CVSS v3.1
Score 7.5high
Affected software
pkg:github/mervinpraison/PraisonAIRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PraisonAI's web_crawl tool validates the hostname of a URL once using socket.gethostbyname to block private, loopback, or link-local addresses. However, the URL is later fetched using httpx.Client or urllib.request.urlopen, both of which follow redirects and re-resolve the hostname without further validation. This time-of-check to time-of-use (TOCTOU) race condition allows attackers who can influence URLs passed to web_crawl() to bypass SSRF protections and access internal network resources or cloud metadata endpoints. The issue is addressed in PraisonAI version 1.6.58.
Potential Impact
An attacker able to supply or influence URLs to the web_crawl tool can cause the PraisonAI host to make unauthorized requests to internal network addresses, loopback interfaces, or cloud metadata services. This can lead to disclosure of sensitive internal information (confidentiality impact) and partial integrity impact due to unauthorized data retrieval. There is no impact on availability. The CVSS 3.1 base score is 7.5 (high), reflecting network attack vector, high complexity, no privileges or user interaction required, and scope change.
Mitigation Recommendations
A fix is available in PraisonAI version 1.6.58. Users should upgrade to this version or later to remediate the vulnerability. Until upgraded, avoid passing untrusted URLs to the web_crawl tool or ensure additional validation on URLs before use. Patch status is not explicitly stated beyond the fixed version; check vendor advisories for further guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T22:44:22.284Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a739c88bf8831d5396b300b
Added to database: 08/05/2026, 20:26:48 UTC
Last enriched: 08/05/2026, 20:41:50 UTC
Last updated: 08/06/2026, 00:18:20 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.