Home

Description

PraisonAI (praisonaiagents) before 1.6.78 contains a path traversal vulnerability in the FastContext feature (praisonaiagents.context.fast). FastContextAgent.execute_tool() prepends the configured workspace_path only for relative paths and neither rejects absolute paths nor canonicalizes joined paths before enforcing workspace containment. As a result, tool arguments or model-generated function calls to grep_search, glob_search, read_file, or list_directory can supply absolute paths or '../' traversal sequences to read, search, and enumerate files outside the intended workspace directory, with file contents returned to the caller or injected into the model's tool-result context.

PUBLISHED Reserved 2026-07-09 | Published 2026-07-10 | Updated 2026-07-10 | Assigner VulnCheck




MEDIUM: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
MEDIUM: 5.7CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Problem types

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
unaffected

Any version before 1.6.78
affected

1.6.78 (semver)
unaffected

Credits

rexpository reporter

References

github.com/...isonAI/security/advisories/GHSA-4xxv-6wmf-xf45 exploit

github.com/...isonAI/security/advisories/GHSA-4xxv-6wmf-xf45 (GitHub Security Advisory (GHSA-4xxv-6wmf-xf45)) vendor-advisory

github.com/...ommit/1620b49f36945d8cc8ee5635b906c960df5097a0 patch

www.vulncheck.com/...sonai-fastcontext-before-path-traversal (VulnCheck Advisory: PraisonAI FastContext before 1.6.78 Path Traversal) third-party-advisory

cve.org (CVE-2026-61432)

nvd.nist.gov (CVE-2026-61432)

Download JSON