CVE-2026-55524: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in MervinPraison PraisonAI
PraisonAI versions prior to 1.6.58 contain a time-of-check to time-of-use (TOCTOU) race condition in the web_crawl tool's SSRF protection. The tool validates the initial URL's hostname against private, loopback, and link-local addresses only once, but then follows redirects and re-resolves hostnames without revalidating. This allows attackers to bypass SSRF protections via HTTP redirects or DNS rebinding, potentially causing the host to fetch internal or cloud metadata endpoints and expose sensitive data. The issue is fixed in version 1.6.58.
AI Analysis
Technical Summary
CVE-2026-55524 describes a TOCTOU race condition vulnerability in MervinPraison's PraisonAI web_crawl tool. The SSRF protection performs hostname validation only once at the initial URL resolution using socket.gethostbyname, rejecting private, loopback, and link-local addresses. However, the fetch operation uses httpx.Client or urllib.request.urlopen with follow_redirects enabled, which re-resolves hostnames at connection time without further validation. This discrepancy allows attackers to exploit HTTP redirects or DNS rebinding to cause the host to fetch internal network or cloud metadata endpoints, exposing sensitive information. The vulnerability affects all PraisonAI versions prior to 1.6.58, where it has been fixed.
Potential Impact
An attacker able to influence URLs passed to the web_crawl tool can bypass SSRF protections and cause the PraisonAI host to connect to internal, loopback, private network, or cloud metadata endpoints. This can lead to unauthorized disclosure of sensitive internal data. The CVSS score of 7.5 (high severity) reflects the network attack vector, high confidentiality impact, limited integrity impact, and no availability impact. There are no known exploits in the wild at this time.
Mitigation Recommendations
This vulnerability is fixed in PraisonAI version 1.6.58. Users should upgrade to version 1.6.58 or later to remediate the issue. No other vendor advisories or temporary mitigations are provided. Patch status is not explicitly stated but the fix version is known, so upgrading is the recommended remediation.
CVE-2026-55524: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in MervinPraison PraisonAI
Description
PraisonAI versions prior to 1.6.58 contain a time-of-check to time-of-use (TOCTOU) race condition in the web_crawl tool's SSRF protection. The tool validates the initial URL's hostname against private, loopback, and link-local addresses only once, but then follows redirects and re-resolves hostnames without revalidating. This allows attackers to bypass SSRF protections via HTTP redirects or DNS rebinding, potentially causing the host to fetch internal or cloud metadata endpoints and expose sensitive data. The issue is fixed in version 1.6.58.
CVSS v3.1
Score 7.5high
Affected software
MervinPraison
PraisonAI
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
CVE-2026-55524 describes a TOCTOU race condition vulnerability in MervinPraison's PraisonAI web_crawl tool. The SSRF protection performs hostname validation only once at the initial URL resolution using socket.gethostbyname, rejecting private, loopback, and link-local addresses. However, the fetch operation uses httpx.Client or urllib.request.urlopen with follow_redirects enabled, which re-resolves hostnames at connection time without further validation. This discrepancy allows attackers to exploit HTTP redirects or DNS rebinding to cause the host to fetch internal network or cloud metadata endpoints, exposing sensitive information. The vulnerability affects all PraisonAI versions prior to 1.6.58, where it has been fixed.
Potential Impact
An attacker able to influence URLs passed to the web_crawl tool can bypass SSRF protections and cause the PraisonAI host to connect to internal, loopback, private network, or cloud metadata endpoints. This can lead to unauthorized disclosure of sensitive internal data. The CVSS score of 7.5 (high severity) reflects the network attack vector, high confidentiality impact, limited integrity impact, and no availability impact. There are no known exploits in the wild at this time.
Mitigation Recommendations
This vulnerability is fixed in PraisonAI version 1.6.58. Users should upgrade to version 1.6.58 or later to remediate the issue. No other vendor advisories or temporary mitigations are provided. Patch status is not explicitly stated but the fix version is known, so upgrading is the recommended remediation.
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
Threat ID: 6a739c88bf8831d5396b300b
Added to database: 08/05/2026, 20:26:48 UTC
Last enriched: 08/13/2026, 17:21:35 UTC
Last updated: 09/18/2026, 22:01:36 UTC
Views: 64
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.