CVE-2026-56835: PraisonAI: Slack app_mention bypasses access policy
HIGHPraisonAI versions 3.11.0 through 4.6.58 enforce the Slack bot's allowed_users, allowed_channels and unknown_user_policy only on the normal message handler, not on the app_mention handler. Any workspace member who can @mention the bot in a channel where the app is installed can therefore trigger the configured agent, even if the same message would be dropped by the access policy. The CVSS score is 8.3 (high) because the agent may hold tools, credentials and data that the allowlist was meant to protect. Exploitation needs only a low-privileged Slack account and no special skill. Mitigating factors: this is not in CISA KEV, no public exploit or Nuclei template exists, EPSS is not yet available, and the tracked downstream footprint is small (1 dependent). Upgrade to 4.6.59 or later, and until then restrict the Slack app's channel membership and the tools or credentials available to the agent.
What is the risk?
High. The flaw is a missing authorization check (CWE-862/CWE-863) reachable over the network with low privileges and no user interaction. The impact depends on what the agent can do: with tool access, file access or connected credentials, a bypass can lead to confidentiality and integrity loss (C:H/I:H). Exposure is limited to organizations that run the PraisonAI Slack bot and rely on allowed_users, allowed_channels or unknown_user_policy=deny as their access boundary. There is no known active exploitation, no public PoC and no KEV listing, and EPSS data is not available. Likelihood is therefore moderate despite the trivial exploit mechanics. The package has had 187 other CVEs, which signals a heavy ongoing vulnerability load.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| PraisonAI | pip | — | No patch |
Do you use PraisonAI? You're affected.
How severe is it?
What is the attack surface?
What should I do?
6 stepsUpgrade PraisonAI to 4.6.59 or later (pip install -U praisonai).
Until patched, remove the Slack app from channels where untrusted users are present, or disable the app_mention event subscription in the Slack app configuration.
Apply least privilege to the agent: remove high-risk tools, scope credentials and tokens, and require human approval for destructive or sensitive actions.
Review Slack and PraisonAI logs for app_mention events from users or channels not in allowed_users or allowed_channels, since the vulnerable version 3.11.0 or later was deployed.
Add a regression test or monitoring that confirms denied users receive no agent response through any event type.
Rotate secrets the agent could access if unauthorized invocations are found. Reference: GHSA-qvpf-j64c-jmhr.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-56835?
PraisonAI versions 3.11.0 through 4.6.58 enforce the Slack bot's allowed_users, allowed_channels and unknown_user_policy only on the normal message handler, not on the app_mention handler. Any workspace member who can @mention the bot in a channel where the app is installed can therefore trigger the configured agent, even if the same message would be dropped by the access policy. The CVSS score is 8.3 (high) because the agent may hold tools, credentials and data that the allowlist was meant to protect. Exploitation needs only a low-privileged Slack account and no special skill. Mitigating factors: this is not in CISA KEV, no public exploit or Nuclei template exists, EPSS is not yet available, and the tracked downstream footprint is small (1 dependent). Upgrade to 4.6.59 or later, and until then restrict the Slack app's channel membership and the tools or credentials available to the agent.
Is CVE-2026-56835 actively exploited?
No confirmed active exploitation of CVE-2026-56835 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-56835?
1. Upgrade PraisonAI to 4.6.59 or later (pip install -U praisonai). 2. Until patched, remove the Slack app from channels where untrusted users are present, or disable the app_mention event subscription in the Slack app configuration. 3. Apply least privilege to the agent: remove high-risk tools, scope credentials and tokens, and require human approval for destructive or sensitive actions. 4. Review Slack and PraisonAI logs for app_mention events from users or channels not in allowed_users or allowed_channels, since the vulnerable version 3.11.0 or later was deployed. 5. Add a regression test or monitoring that confirms denied users receive no agent response through any event type. 6. Rotate secrets the agent could access if unauthorized invocations are found. Reference: GHSA-qvpf-j64c-jmhr.
What systems are affected by CVE-2026-56835?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, multi-agent systems, chatbot integrations, tool-calling agents.
What is the CVSS score for CVE-2026-56835?
CVE-2026-56835 has a CVSS v3.1 base score of 8.3 (HIGH). The EPSS exploitation probability is 0.21%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0012Valid AccountsAML.T0049Exploit Public-Facing ApplicationAML.T0053AI Agent Tool InvocationAML.T0085.001AI Agent ToolsCompliance Controls Affected
What are the technical details?
Original Advisory
PraisonAI is a multi-agent teams system. From version 3.11.0 to before version 4.6.59, PraisonAI's Slack bot applies its configured allowed_users, allowed_channels, and unknown-user pairing policy in the normal Slack message event handler, but not in the adjacent Slack app_mention event handler. A Slack workspace user who can mention the bot in a channel where the Slack app is present can trigger the configured PraisonAI agent even when: the sender is not in BotConfig.allowed_users; the channel is not in BotConfig.allowed_channels; unknown_user_policy="deny" is configured; and the same event content is correctly dropped by the normal message handler. This issue has been patched in version 4.6.59.
Exploitation Scenario
An organization runs a PraisonAI agent in Slack with allowed_users set to the security team and unknown_user_policy=deny, and the agent has tools for ticketing, internal document search and cloud queries. A contractor with a regular Slack account, not on the allowlist, finds the bot in a shared channel. Plain messages are silently dropped, but when the contractor @mentions the bot, the app_mention handler skips the policy checks and runs the agent. The contractor asks it to search internal documents and summarize credentials or incident data, or to run a ticketing or cloud action. The agent executes with its own privileges and returns the results in the channel.
Weaknesses (CWE)
CWE-862Missing AuthorizationPrimaryCWE-863Incorrect AuthorizationPrimaryCWE-862Missing AuthorizationCWE-863Incorrect AuthorizationCWE-862 — Missing Authorization: The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
- [Architecture and Design] Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
- [Architecture and Design] Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor [REF-7].
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:LReferences
- github.com/MervinPraison/PraisonAI/security/advisories/GHSA-qvpf-j64c-jmhrx_refsource_CONFIRM
Timeline
Related Vulnerabilities
CVE-2026-4816810.0PraisonAI: shell injection in Claude Action enables RCE
Same package: praisonaiCVE-2026-6144710.0PraisonAI: RCE via unsandboxed LLM code execution
Same package: praisonaiCVE-2026-614459.9PraisonAI: AICoder root RCE via unsanitized tool calls
Same package: praisonaiGHSA-vmmj-pfw7-fjwp9.9praisonai: sandbox escape gives RCE via codeMode tool
Same package: praisonaiCVE-2026-473929.9praisonaiagents: RCE via Python sandbox bypass
Same package: praisonai