Vulnerability in praisonai
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-56838 has been found in praisonai.
Attackers can target a specific entry point like POST /v1/recipes/stream over the network to misuse the product.
Successful exploitation can lead to full system takeover.
What to do: upgrade praisonai to 4.6.59 or later.
If unsure, ask your IT team or search "praisonai CVE-2026-56838" on the vendor's site.
CVE-2026-56838 (praisonai) — CWE-693
Attack vector: local / unauthenticated
Attack surface: POST /v1/recipes/stream / execute_command / printf / PRAISONAI_AUTO_APPROVE
Patched: 4.6.59 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-693) exists in praisonai. Attackers reach the vulnerable code path via POST /v1/recipes/stream without authentication.
Check the vendor advisory for the affected versions of praisonai. Attack surface: POST /v1/recipes/stream / execute_command / printf / PRAISONAI_AUTO_APPROVE.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 4.6.59.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual POST /v1/recipes/stream requests with malformed payloads or SQL meta-characters. Run grep -r 'praisonai' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'praisonai' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
praisonaiを grep し、稼働しているサービス・バージョンを把握する。 -
2
Hunt for indicators of compromisedetect
grep 'POST /v1/recipes/stream' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
POST /v1/recipes/streamへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3
Apply patchpatch
Upgrade praisonai to 4.6.59ステージング環境で 4.6.59 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
4
Post-deployment verificationverify
Replay attack against POST /v1/recipes/stream on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pippraisonai |
< 4.6.59→ 4.6.59 |
4.6.59 |
| PyPIpraisonai |
≥ 4.5.87, < 4.6.59→ 4.6.59 |
4.6.59 |
| MervinPraisonPraisonAI | — | Not listed |
Original description The description as published by the source.
PraisonAI is a multi-agent teams system. From version 4.5.87 to before version 4.6.59, PraisonAI recipe execution blocks default-denied dangerous tools unless the caller explicitly passes allow_dangerous_tools=True. The normal recipe.run() path enforces this with _check_tool_policy(). The streaming path, recipe.run_stream(), loads the same recipe, checks dependencies, and then calls _execute_recipe() without running the dangerous-tool policy check. As a result, a recipe that honestly declares execute_command in TEMPLATE.yaml requires.tools is denied by recipe.run(), but reaches the execution engine through recipe.run_stream() with allow_dangerous_tools=False. This issue has been patched in version 4.6.59.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- package pypi.org