Advisory record · GHSA-7j2f-xc8p-fjmq

PraisonAIAgents: Path Traversal via Unvalidated Glob Pattern in list_files Bypasses Workspace Boundary

CVSS 5.3 MediumEPSS 0.0042 · 36th percentile

Published by the GitHub Advisory Database at 10 Apr 2026, 19:24 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
praisonaiagentsPyPI<1.5.1281.5.128
Identifiers
GHSA-7j2f-xc8p-fjmq · CVE-2026-40152 · PYSEC-2026-2944
Weakness (CWE)
CWE-22
Published
10 Apr 2026
Updated
13 Jul 2026

Machine-written summary

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

The praisonaiagents PyPI package, versions before 1.5.128, has a path traversal flaw in the list_files tool of FileTools. The directory argument is checked against the workspace, but the pattern argument is not, so ".." segments can list files outside the workspace. An attacker who can prompt an agent that uses this tool, including through injected text in documents the agent processes, can learn whether files exist and see their names, sizes and timestamps, though not their contents. Upgrade to version 1.5.128.

Written 6 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
5.3 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0042, the 36th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:02 UTC First seen by agentprime
  2. 31 Oct 2026, 15:02 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.