---
id: CVE-2026-56074
title: >-
  PraisonAI before 1.5.128 caches tool approval decisions by tool name only, not
  by invocation arguments, allowing subsequent execute_command calls to bypass
  approval prompts
summary: >-
  PraisonAI before 1.5.128 caches tool approval decisions by tool name only, not
  by invocation arguments, allowing subsequent execute_command calls to bypass
  approval prompts. Attackers can exploit this by obtaining initial approval for
  a …
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'
cwe:
  - CWE-863
vendor: PraisonAI
product: PraisonAI
affected:
  - PraisonAI < 1.5.128
patched:
  - praisonaiagents 4.5.128
published: '2026-06-18'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:17:20.937'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56074'
references:
  - url: >-
      https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-ffp3-3562-8cv3
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/praisonai-tool-approval-cache-bypass-via-coarse-grained-caching
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-ffp3-3562-8cv3
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56074'
  - url: 'https://github.com/MervinPraison/PraisonAI'
  - url: 'https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.128'
  - url: 'https://pypi.org/project/praisonaiagents'
  - url: 'https://github.com/advisories/GHSA-ffp3-3562-8cv3'
tags:
  - nvd
  - cve.org
  - exploit-available
  - osv
  - pip
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-22T12:44:29.875373Z'
epss: 0.00176
epssPercentile: 0.07087
aliases:
  - PYSEC-2026-2946
  - GHSA-ffp3-3562-8cv3
ecosystem: pip
ingestedAt: '2026-07-13T18:57:57.301Z'
---

## Overview

PraisonAI before 1.5.128 caches tool approval decisions by tool name only, not by invocation arguments, allowing subsequent execute_command calls to bypass approval prompts. Attackers can exploit this by obtaining initial approval for a benign command, then silently exfiltrate API keys and credentials via subsequent shell commands without user consent.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-56074)

Affected packages:

- `praisonaiagents < 4.5.128`

Patched in:

- `praisonaiagents 4.5.128`

Source: https://osv.dev/vulnerability/PYSEC-2026-2946
