ZeroHour

CVE-2026-57127

niche

Missing Authentication in PraisonAI Recipe Serve Prior to 4.6.58

CVSS 3.1
9.8 critical
EPSS
Published
()
Modified
AI analysis

PraisonAI, an open-source multi-agent framework, fails to enforce authentication in its 'recipe serve' component before version 4.6.58. When an operator selects api-key or JWT authentication, the APIKeyAuthMiddleware or JWTAuthMiddleware incorrectly forwards requests when PRAISONAI_API_KEY or PRAISONAI_JWT_SECRET (and the corresponding recipe value) are absent, so the server silently runs without the intended protection. An unauthenticated network attacker who can reach the service can invoke recipe execution, input, and output surfaces and may trigger connected tools, potentially reading sensitive agent data and driving any integrated actions the agents can perform. Operators running 'recipe serve' on any version before 4.6.58 with authentication enabled are affected, with the highest risk where the service is exposed to untrusted networks. The issue is fixed in 4.6.58; no public proof of concept or observed exploitation is known at this time.

What to do: Upgrade PraisonAI to 4.6.58 or later, which makes the middleware fail closed when authentication is enabled. As defense in depth, explicitly set PRAISONAI_API_KEY or PRAISONAI_JWT_SECRET and the recipe-level auth values, and restrict network access to recipe serve endpoints. Review logs on any pre-4.6.58 deployment for unauthenticated requests to recipe execution, input, or output endpoints, and audit what connected tools those recipes could have triggered.

Affected
PraisonAI< 4.6.58
Estimated exposure
nicheestimated tens to hundreds of network-exposed deployments (clearly an estimate; no reliable count exists) — PraisonAI is a pip-installable developer framework for building agent teams rather than mass-market server software, and 'recipe serve' instances are typically run locally or inside private networks, so only a small subset of installs is…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

PraisonAI is a multi-agent teams system. Prior to 4.6.58, recipe serve installs APIKeyAuthMiddleware or JWTAuthMiddleware when an operator selects api-key or JWT authentication, but each middleware forwards requests when PRAISONAI_API_KEY or PRAISONAI_JWT_SECRET and the corresponding recipe value are absent. Unauthenticated clients can then reach recipe execution, input, and output surfaces and may trigger connected tools despite the operator explicitly enabling authentication. This issue is fixed in 4.6.58.

Weakness
CWE-306, CWE-1188
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.