SecurityContext

CVE-2026-40152: PraisonAIAgents - Path Traversal

  • Cve: CVE-2026-40152
  • Name: PraisonAIAgents - Path Traversal
  • Description: PraisonAIAgents is a multi-agent teams system. Prior to 1.5.128, he list_files() tool in FileTools validates the directory parameter against workspace boundaries via _validate_path(), but passes the pattern parameter directly to Path.glob() without any validation. Since Python's Path.glob() supports .. path segments, an attacker can use relative path traversal in the glob pattern to enumerate arbitrary files outside the workspace, obtaining file metadata (existence, name, size, timestamps) for any path on the filesystem. This vulnerability is fixed in 1.5.128.
  • Impact: Attackers can enumerate arbitrary file metadata outside the workspace, potentially exposing sensitive information about the filesystem.
  • Remediation: Update to version 1.5.128 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Epss score: 0.00417
  • Epss percentile: 0.36752
  • Assignee: [email protected]
  • Published at: 2026-04-09T22:16:36Z
  • Age in days: 229
  • Modified at: 2026-10-26T22:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40152
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-7j2f-xc8p-fjmqnvd2026-04-09

References

UrlSourceTags
https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-7j2f-xc8p-fjmqnvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
praison:praisonaiagents< 1.5.128nonvd/v1/products/praison/praisonaiagents

Projects

RepositoryLink kindsIndexedUrl
mervinpraison/praisonaipackage, security_advisoryyes/v1/repositories/mervinpraison/praisonai

Index

  • Repositories: 1
  • Repositories high signal: 1
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-04-09
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts