Skip to content
High 8.8

Cross-Site Scripting (XSS) in praisonai

CVE-2026-56840 First seen on SecPulse

Summary

Cross-site scripting in praisonai (CVE-2026-56840). Successful exploitation can lead to full system takeover. Exploitable via praisonai.bots.HTTPApproval. Mitigation: upgrade to 4.6.59 or later.

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-56840 has been found in praisonai.
Attackers can target a specific entry point like praisonai.bots.HTTPApproval 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-56840" on the vendor's site.

CVE-2026-56840 (praisonai) — CWE-79
Attack vector: remote (network-reachable) / unauthenticated
Attack surface: praisonai.bots.HTTPApproval / HTTPApproval / execute_command / execute_code
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.

What is the problem

Cross-site scripting (XSS) (CWE-79) exists in praisonai. Attackers reach the vulnerable code path via praisonai.bots.HTTPApproval without authentication.

Affected scope

Check the vendor advisory for the affected versions of praisonai. Attack surface: praisonai.bots.HTTPApproval / HTTPApproval / execute_command / execute_code.

Severity

Severity: ?. Successful exploitation can lead to full system takeover.

How to fix

Update to 4.6.59.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. 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. 1
    Identify exposureidentify
    grep -r 'praisonai' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で praisonai を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade praisonai to 4.6.59

    ステージング環境で 4.6.59 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
pippraisonai
< 4.6.59→ 4.6.59
PyPIpraisonai
≥ 4.5.2, < 4.6.59→ 4.6.59
MervinPraisonPraisonAI —
Original description The description as published by the source.

PraisonAI is a multi-agent teams system. From version 4.5.2 to before version 4.6.59, praisonai.bots.HTTPApproval renders pending tool approval arguments directly into the approval dashboard HTML. An attacker-controlled tool argument can inject JavaScript into that page. When a human opens the approval URL to inspect the risky tool request, the script runs in the dashboard origin and can POST to the same request's /approve/{request_id}/decide endpoint, causing HTTPApproval to return approved=True. This issue has been patched in version 4.6.59.

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details