PatchSiren cyber security CVE debrief
CVE-2026-56074 PraisonAI CVE debrief
The CVE-2026-56074 vulnerability in PraisonAI Agents allows for the bypassing of per-invocation consent for shell commands due to a coarse-grained tool approval cache. This means that once a user approves the `execute_command` tool for any command, all subsequent calls to `execute_command` in the same execution context will bypass the approval prompt. This can be exploited by an LLM agent, potentially through prompt injection, to exfiltrate API keys and credentials without further user consent. The issue arises from the `require_approval` decorator and the `mark_approved` function, which store approval decisions by tool name only, not by invocation arguments.
- Vendor
- PraisonAI
- Product
- praisonaiagents
- CVSS
- MEDIUM 6.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-13
- Original CVE updated
- 2026-11-20
- Advisory published
- 2026-07-13
- Advisory updated
- 2026-11-20
Who should care
Defenders responsible for securing PraisonAI Agents and LLM agents should be aware of this vulnerability and take immediate action to verify and update the approval mechanism. This includes reviewing the code and implementing compensating controls to prevent exploitation.
Why it matters
The CVE-2026-56074 vulnerability in PraisonAI Agents allows for the bypassing of per-invocation consent for shell commands, potentially leading to the exfiltration of API keys and credentials. Defenders should prioritize verifying the approval mechanism and implementing compensating controls to prevent exploitation.
- Defenders need to verify the approval mechanism to prevent unauthorized access
- Implement compensating controls to monitor and restrict sensitive operations
- Assess the risk of LLM agents being used to exploit this vulnerability
- Review and update the require_approval decorator and mark_approved function
Technical summary
The approval system in PraisonAI Agents caches tool approval decisions by tool name only, not by invocation arguments. This allows an LLM agent to silently exfiltrate API keys and credentials without further user consent. The `require_approval` decorator and the `mark_approved` function are the key components that need to be reviewed and updated to fix this issue. Defenders should prioritize verifying the approval mechanism in PraisonAI Agents, ensuring that per-invocation consent is properly enforced. This includes reviewing the `require_approval` decorator and the `mark_approved` function to guarantee that approval decisions are properly scoped. Additionally, defenders should assess the risk of LLM agents and
Defensive priority
Defenders should prioritize verifying the approval mechanism in PraisonAI Agents, ensuring that per-invocation consent is properly enforced. This includes reviewing the `require_approval` decorator and the `mark_approved` function to guarantee that approval decisions are properly scoped. Additionally, defenders should assess the risk of LLM agents being used to exploit this vulnerability and implement compensating controls to monitor and restrict sensitive operations.
Recommended defensive actions
- Verify the approval mechanism in PraisonAI Agents
- Review the require_approval decorator and mark_approved function
- Implement compensating controls to monitor and restrict sensitive operations
- Assess the risk of LLM agents being used to exploit this vulnerability
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The vulnerability is caused by the coarse-grained tool approval cache in PraisonAI Agents, which stores approval decisions by tool name only. The `require_approval` decorator and the `mark_approved` function are the key components that need to be reviewed and updated to fix this issue. The CVE record and source item provide detailed information about the vulnerability, including code snippets and affected versions.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-56074 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-56074
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-56074 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-56074
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
PraisonAI: Coarse-Grained Tool Approval Cache Bypasses Per-Invocation Consent for Shell Commands
Unverified legacy reference
URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/PYSEC-2026-2946.json
osv_dev
-
Source reference
Unverified legacy reference
URL: https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-ffp3-3562-8cv3
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/MervinPraison/PraisonAI
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.128
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/praisonai-tool-approval-cache-bypass-via-coarse-grained-caching
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://pypi.org/project/praisonaiagents
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/advisories/GHSA-ffp3-3562-8cv3
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.