Skip to main content

CVE-2026-57114: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in MervinPraison PraisonAI

0
High
VulnerabilityCVE-2026-57114cvecve-2026-57114cwe-367cwe-918
Published: 10/23/2026 (10/23/2026, 12:04:29 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: PraisonAI

Description

CVE-2026-57114 is a time-of-check to time-of-use (TOCTOU) race condition vulnerability in MervinPraison PraisonAI versions 4.5.126 up to but not including 4.6.59. The Async Jobs API validates webhook URLs during job request parsing and again when constructing the internal Job object, blocking loopback/private targets at validation time. However, the actual webhook delivery does not re-validate the hostname, allowing an attacker to exploit DNS resolution changes to bypass SSRF protections. This vulnerability has been fixed in version 4.6.59.

CVSS v3.1

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Affected software

MervinPraison

PraisonAI

Affected versions
>=4.5.126 <4.6.59
GitHub Actionsmore threats →ai
mervinpraison/PraisonAI
pkg:github/mervinpraison/PraisonAI
Affected versions
>=4.5.126 <4.6.59

Run 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

AILast updated: 10/23/2026, 12:45:42 UTC

Technical Analysis

PraisonAI's Async Jobs API performs hostname validation on webhook URLs twice: once during job request parsing and again when constructing the internal Job object. This validation blocks loopback and private IP targets to prevent SSRF attacks. However, the final network request that sends the webhook does not perform validation at send time, nor does it pin the IP or use guarded transport. An attacker can supply a hostname that resolves to a public IP during validation but later resolves to a loopback, private, or cloud metadata IP during webhook delivery, effectively bypassing SSRF protections. This TOCTOU race condition is an incomplete fix or patch bypass of a previous vulnerability (GHSA-8frj-8q3m-xhgm). The issue is resolved in PraisonAI version 4.6.59.

Potential Impact

An attacker can bypass intended SSRF protections by exploiting the race condition between hostname validation and webhook delivery. This allows sending requests to internal or cloud metadata IP addresses that should be blocked, potentially exposing sensitive internal services or metadata endpoints. The vulnerability impacts confidentiality and integrity but does not affect availability.

Mitigation Recommendations

Upgrade PraisonAI to version 4.6.59 or later, where this vulnerability has been patched. The vendor advisory confirms the fix in 4.6.59. Until upgrading, no other specific mitigations are provided.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-24T00:33:17.706Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6adb53864d27ba8daa242bbe

Added to database: 10/23/2026, 12:31:02 UTC

Last enriched: 10/23/2026, 12:45:42 UTC

Last updated: 10/23/2026, 15:26:05 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses