CVE-2026-56832
PraisonAI DiscordApproval accepts unrelated channel messages as dangerous-tool approvals
PraisonAI is a multi-agent teams system. From version 4.5.2 to before version 4.6.59, praisonai.bots.DiscordApproval approves a pending dangerous tool call when it sees any later non-bot message in the configured Discord channel whose text is classified as approval, such as yes. As a result, any user who can post in the configured approval channel can approve a pending high-risk tool call by sending yes after the approval message appears. the same PoV also shows that the Slack and Telegram messaging approval backends have no explicit approver allowlist parameter, but the primary report-grade issue is the Discord backend's unthreaded channel cross-talk: the approving message does not need to be a reply or otherwise request-bound. This issue has been patched in version 4.6.59.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.8
PraisonAI DiscordApproval accepts unrelated channel messages as dangerous-tool approvals
PraisonAI is a multi-agent teams system. From version 4.5.2 to before version 4.6.59, praisonai.bots.DiscordApproval approves a pending dangerous tool call when it sees any later non-bot message in the configured Discord channel whose text is classified as approval, such as yes. As a result, any user who can post in the configured approval channel can approve a pending high-risk tool call by sending yes after the approval message appears. the same PoV also shows that the Slack and Telegram messaging approval backends have no explicit approver allowlist parameter, but the primary report-grade issue is the Discord backend's unthreaded channel cross-talk: the approving message does not need to be a reply or otherwise request-bound. This issue has been patched in version 4.6.59.
- Record
CVE-2026-56832- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-345, CWE-863
- Updated
- 2026-11-02
EUVDEUVD-2026-108873
8.8
PraisonAI is a multi-agent teams system. From version 4.5.2 to before version 4.6.59, praisonai.bots.DiscordApproval approves a pending dangerous tool call when it sees any later non-bot message in the configured Discord channel whose text is classified as approval, such as yes. As a result, any user who can post in the configured approval channel can approve a pending high-risk tool call by sending yes after the approval message appears. the same PoV also shows that the Slack and Telegram messaging approval backends have no explicit approver allowlist parameter, but the primary report-grade issue is the Discord backend's unthreaded channel cross-talk: the approving message does not need to be a reply or otherwise request-bound. This issue has been patched in version 4.6.59.
- Record
EUVD-2026-108873- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-8579-rgg5-ph2m
8.8
PraisonAI DiscordApproval accepts unrelated channel messages as dangerous-tool approvals
DiscordApproval accepts unrelated channel messages as dangerous-tool approvals
Summary
praisonai.bots.DiscordApproval approves a pending dangerous tool call when it
sees any later non-bot message in the configured Discord channel whose text is
classified as approval, such as yes.
The decision is not bound to:
- a Discord reply to the approval message;
- a Discord thread created for that request;
- a Discord interaction/button callback for that request;
- an explicit approver user allowlist; or
- an approval nonce visible only to intended approvers.
As a result, any user who can post in the configured approval channel can
approve a pending high-risk tool call by sending yes after the approval
message appears. The same local PoV also shows that the Slack and Telegram
messaging approval backends have no explicit approver allowlist parameter, but
the primary report-grade issue is the Discord backend's unthreaded channel
cross-talk: the approving message does not need to be a reply or otherwise
request-bound.
Affected Product
- Repository:
MervinPraison/PraisonAI - Ecosystem:
pip - Package:
praisonai - Component: Python messaging approval backends
- Primary affected file:
src/praisonai/praisonai/bots/_discord_approval.py - Related sibling files:
src/praisonai/praisonai/bots/_slack_approval.pysrc/praisonai/praisonai/bots/_telegram_approval.py
- Latest PyPI version validated:
4.6.58 - Current
origin/mainvalidated:1ad58ca02975ff1398efeda694ea2ab78f20cf3e - Current
origin/maintag validated:v4.6.58
Suggested affected range:
pip:praisonai >= 4.5.2, <= 4.6.58
Representative local sweep:
4.5.0 Discord approval backend not present
4.5.2 vulnerable
4.5.128 vulnerable
4.6.9 vulnerable
4.6.10 vulnerable
4.6.56 vulnerable
4.6.57 vulnerable
4.6.58 vulnerable
Root Cause
DiscordApproval.request_approval() posts an approval message to the configured
channel and records the returned message id.
_poll_for_response() then polls channel history with:
f"/channels/{channel_id}/messages?after={message_id}&limit=10"
For each later non-bot message, it reads content, classifies the text, and
returns ApprovalDecision(approved=True) when the text is approve/yes.
There is no check that the message is a Discord reply to the approval message,
belongs to a request-specific thread, came from an intended approver, or
contains a request-specific approval token.
Important source evidence from origin/main:
_discord_approval.pylines 57-73: constructor acceptstoken,channel_id,timeout, andpoll_interval; no approver allowlist._discord_approval.pyline 239: polls all messages after the approval message in the configured channel._discord_approval.pylines 252-265: skips bot messages, classifies the remaining text, and approves when the keyword isapprove.
The Slack and Telegram backends are better request-scoped than Discord:
- Slack uses
conversations.repliesfor the approval message thread. - Telegram checks the callback/reply message id.
However, both still lack an explicit approver identity parameter. They are included in the PoV and suggested fix because the authorization model should be consistent across all messaging approval backends.
Local PoV
Run against the latest local checkout:
python3 poc/pov_prai_cand_029_messaging_approval_channel_member_bypass.py \
--repo ../../artifacts/repos/praisonai-v4.6.58 \
--json
The PoV is local-only. It mocks Slack, Telegram, and Discord API helpers in-process and does not contact those services.
For Discord, the mock sequence is:
DiscordApprovalposts a criticalexecute_commandapproval request toD_APPROVAL_CHANNEL.- The mocked channel-history endpoint returns a later ordinary non-bot
channel message from
D_INTRUDERwith contentyes. DiscordApprovalreturnsapproved=Trueandapprover="D_INTRUDER".…
- Record
GHSA-8579-rgg5-ph2m- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-345, CWE-863
- Updated
- 2026-11-02
NVD
8.8
PraisonAI is a multi-agent teams system. From version 4.5.2 to before version 4.6.59, praisonai.bots.DiscordApproval approves a pending dangerous tool call when it sees any later non-bot message in the configured Discord channel whose text is classified as approval, such as yes. As a result, any user who can post in the configured approval channel can approve a pending high-risk tool call by sending yes after the approval message appears. the same PoV also shows that the Slack and Telegram messaging approval backends have no explicit approver allowlist parameter, but the primary report-grade issue is the Discord backend's unthreaded channel cross-talk: the approving message does not need to be a reply or otherwise request-bound. This issue has been patched in version 4.6.59.
- Record
CVE-2026-56832- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-345, CWE-863
- Updated
- 2026-11-02
OSV
8.8
PraisonAI DiscordApproval accepts unrelated channel messages as dangerous-tool approvals
PraisonAI is a multi-agent teams system. From version 4.5.2 to before version 4.6.59, praisonai.bots.DiscordApproval approves a pending dangerous tool call when it sees any later non-bot message in the configured Discord channel whose text is classified as approval, such as yes. As a result, any user who can post in the configured approval channel can approve a pending high-risk tool call by sending yes after the approval message appears. the same PoV also shows that the Slack and Telegram messaging approval backends have no explicit approver allowlist parameter, but the primary report-grade issue is the Discord backend's unthreaded channel cross-talk: the approving message does not need to be a reply or otherwise request-bound. This issue has been patched in version 4.6.59.
- Record
CVE-2026-56832- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-345, CWE-863
- Updated
- 2026-11-02
OSVGHSA-8579-rgg5-ph2m
8.8
PraisonAI DiscordApproval accepts unrelated channel messages as dangerous-tool approvals
DiscordApproval accepts unrelated channel messages as dangerous-tool approvals
Summary
praisonai.bots.DiscordApproval approves a pending dangerous tool call when it
sees any later non-bot message in the configured Discord channel whose text is
classified as approval, such as yes.
The decision is not bound to:
- a Discord reply to the approval message;
- a Discord thread created for that request;
- a Discord interaction/button callback for that request;
- an explicit approver user allowlist; or
- an approval nonce visible only to intended approvers.
As a result, any user who can post in the configured approval channel can
approve a pending high-risk tool call by sending yes after the approval
message appears. The same local PoV also shows that the Slack and Telegram
messaging approval backends have no explicit approver allowlist parameter, but
the primary report-grade issue is the Discord backend's unthreaded channel
cross-talk: the approving message does not need to be a reply or otherwise
request-bound.
Affected Product
- Repository:
MervinPraison/PraisonAI - Ecosystem:
pip - Package:
praisonai - Component: Python messaging approval backends
- Primary affected file:
src/praisonai/praisonai/bots/_discord_approval.py - Related sibling files:
src/praisonai/praisonai/bots/_slack_approval.pysrc/praisonai/praisonai/bots/_telegram_approval.py
- Latest PyPI version validated:
4.6.58 - Current
origin/mainvalidated:1ad58ca02975ff1398efeda694ea2ab78f20cf3e - Current
origin/maintag validated:v4.6.58
Suggested affected range:
pip:praisonai >= 4.5.2, <= 4.6.58
Representative local sweep:
4.5.0 Discord approval backend not present
4.5.2 vulnerable
4.5.128 vulnerable
4.6.9 vulnerable
4.6.10 vulnerable
4.6.56 vulnerable
4.6.57 vulnerable
4.6.58 vulnerable
Root Cause
DiscordApproval.request_approval() posts an approval message to the configured
channel and records the returned message id.
_poll_for_response() then polls channel history with:
f"/channels/{channel_id}/messages?after={message_id}&limit=10"
For each later non-bot message, it reads content, classifies the text, and
returns ApprovalDecision(approved=True) when the text is approve/yes.
There is no check that the message is a Discord reply to the approval message,
belongs to a request-specific thread, came from an intended approver, or
contains a request-specific approval token.
Important source evidence from origin/main:
_discord_approval.pylines 57-73: constructor acceptstoken,channel_id,timeout, andpoll_interval; no approver allowlist._discord_approval.pyline 239: polls all messages after the approval message in the configured channel._discord_approval.pylines 252-265: skips bot messages, classifies the remaining text, and approves when the keyword isapprove.
The Slack and Telegram backends are better request-scoped than Discord:
- Slack uses
conversations.repliesfor the approval message thread. - Telegram checks the callback/reply message id.
However, both still lack an explicit approver identity parameter. They are included in the PoV and suggested fix because the authorization model should be consistent across all messaging approval backends.
Local PoV
Run against the latest local checkout:
python3 poc/pov_prai_cand_029_messaging_approval_channel_member_bypass.py \
--repo ../../artifacts/repos/praisonai-v4.6.58 \
--json
The PoV is local-only. It mocks Slack, Telegram, and Discord API helpers in-process and does not contact those services.
For Discord, the mock sequence is:
DiscordApprovalposts a criticalexecute_commandapproval request toD_APPROVAL_CHANNEL.- The mocked channel-history endpoint returns a later ordinary non-bot
channel message from
D_INTRUDERwith contentyes. DiscordApprovalreturnsapproved=Trueandapprover="D_INTRUDER".…
- Record
GHSA-8579-rgg5-ph2m- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-345, CWE-863
- Updated
- 2026-11-02
OSVPYSEC-2026-3506
8.8
PraisonAI DiscordApproval accepts unrelated channel messages as dangerous-tool approvals
DiscordApproval accepts unrelated channel messages as dangerous-tool approvals
Summary
praisonai.bots.DiscordApproval approves a pending dangerous tool call when it
sees any later non-bot message in the configured Discord channel whose text is
classified as approval, such as yes.
The decision is not bound to:
- a Discord reply to the approval message;
- a Discord thread created for that request;
- a Discord interaction/button callback for that request;
- an explicit approver user allowlist; or
- an approval nonce visible only to intended approvers.
As a result, any user who can post in the configured approval channel can
approve a pending high-risk tool call by sending yes after the approval
message appears. The same local PoV also shows that the Slack and Telegram
messaging approval backends have no explicit approver allowlist parameter, but
the primary report-grade issue is the Discord backend's unthreaded channel
cross-talk: the approving message does not need to be a reply or otherwise
request-bound.
Affected Product
- Repository:
MervinPraison/PraisonAI - Ecosystem:
pip - Package:
praisonai - Component: Python messaging approval backends
- Primary affected file:
src/praisonai/praisonai/bots/_discord_approval.py - Related sibling files:
src/praisonai/praisonai/bots/_slack_approval.pysrc/praisonai/praisonai/bots/_telegram_approval.py
- Latest PyPI version validated:
4.6.58 - Current
origin/mainvalidated:1ad58ca02975ff1398efeda694ea2ab78f20cf3e - Current
origin/maintag validated:v4.6.58
Suggested affected range:
pip:praisonai >= 4.5.2, <= 4.6.58
Representative local sweep:
4.5.0 Discord approval backend not present
4.5.2 vulnerable
4.5.128 vulnerable
4.6.9 vulnerable
4.6.10 vulnerable
4.6.56 vulnerable
4.6.57 vulnerable
4.6.58 vulnerable
Root Cause
DiscordApproval.request_approval() posts an approval message to the configured
channel and records the returned message id.
_poll_for_response() then polls channel history with:
f"/channels/{channel_id}/messages?after={message_id}&limit=10"
For each later non-bot message, it reads content, classifies the text, and
returns ApprovalDecision(approved=True) when the text is approve/yes.
There is no check that the message is a Discord reply to the approval message,
belongs to a request-specific thread, came from an intended approver, or
contains a request-specific approval token.
Important source evidence from origin/main:
_discord_approval.pylines 57-73: constructor acceptstoken,channel_id,timeout, andpoll_interval; no approver allowlist._discord_approval.pyline 239: polls all messages after the approval message in the configured channel._discord_approval.pylines 252-265: skips bot messages, classifies the remaining text, and approves when the keyword isapprove.
The Slack and Telegram backends are better request-scoped than Discord:
- Slack uses
conversations.repliesfor the approval message thread. - Telegram checks the callback/reply message id.
However, both still lack an explicit approver identity parameter. They are included in the PoV and suggested fix because the authorization model should be consistent across all messaging approval backends.
Local PoV
Run against the latest local checkout:
python3 poc/pov_prai_cand_029_messaging_approval_channel_member_bypass.py \
--repo ../../artifacts/repos/praisonai-v4.6.58 \
--json
The PoV is local-only. It mocks Slack, Telegram, and Discord API helpers in-process and does not contact those services.
For Discord, the mock sequence is:
DiscordApprovalposts a criticalexecute_commandapproval request toD_APPROVAL_CHANNEL.- The mocked channel-history endpoint returns a later ordinary non-bot
channel message from
D_INTRUDERwith contentyes. DiscordApprovalreturnsapproved=Trueandapprover="D_INTRUDER".…
- Record
PYSEC-2026-3506- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
praisonaiPyPI |
4.5.2 to 4.6.58 | 4.6.59 |
praisonaiPyPI |
4.5.2 up to 4.6.59, plus listed versions 4.5.104.5.1004.5.1014.5.1024.5.103 Show 45 moreShow less4.5.1044.5.1054.5.1064.5.1074.5.1084.5.1094.5.114.5.1104.5.1114.5.1124.5.1134.5.1144.5.1154.5.1174.5.1184.5.1194.5.124.5.1204.5.1214.5.1224.5.1234.5.1244.5.1254.5.1264.5.1274.5.1284.5.1294.5.134.5.1304.5.1314.5.1324.5.1334.5.1344.5.1354.5.1364.5.1374.5.1394.5.144.5.1404.5.1434.5.1444.5.1454.5.1494.5.154.5.16 |
4.6.59 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-56832 is a high vulnerability (CVSS 8.8) in Mervinpraison Praisonai, published June 18, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.15%, the 4th percentile. Fixed in praisonai 4.6.59.
References
Left out here: 125 versions and the rest of 3 source descriptions. The JSON record has them.