Advisory record · GHSA-gcq3-mfvh-3x25

PraisonAI Code agent tools fail open without a workspace boundary

CVSS 7.3 HighEPSS 0.0038 · 32nd percentile

Published by the GitHub Advisory Database at 18 Jun 2026, 13:59 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
praisonaiPyPI<4.6.594.6.59
Identifiers
GHSA-gcq3-mfvh-3x25 · CVE-2026-56839 · PYSEC-2026-3512
Weakness (CWE)
CWE-22 · CWE-200 · CWE-863
Published
18 Jun 2026
Updated
23 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

PraisonAI versions before 4.6.59 (PyPI package praisonai) have agent-compatible code tools that fail open when no workspace is set. If an application exposes CODE_TOOLS, code_read_file, code_search_replace, or code_apply_diff to an LLM before calling set_workspace(), prompt-influenced tool calls can read and modify files outside the intended project directory. Upgrade to praisonai 4.6.59 or later. Until then, call set_workspace() before using these tools.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.3 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0038, the 32nd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:41 UTC First seen by agentprime
  2. 31 Oct 2026, 14:41 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.