Skip to content
MediumVulnerabilityLLM-specific

GHSA-4xxv-6wmf-xf45: PraisonAI: FastContext path resolution permits absolute and traversal reads outside the workspace

Published
Record updated
View JSON
Affected
  • praisonaiagents <= 1.6.77
Fixed in
1.6.78
  • released June 25, 2026, 105 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

PraisonAI's FastContext feature, in praisonaiagents.context.fast, treats workspace_path as the root for code search but does not confine its model-facing tools to that directory. The execute_tool() method leaves absolute paths unchanged and turns relative traversal paths such as ../outside-secret.txt into paths outside the workspace, and the downstream grep_search, read_file and list_directory functions resolve and read them. A lower-trust prompt or caller that can influence tool arguments can therefore read, search and enumerate files outside the intended project, with the content returned to the caller or injected into the model's tool-result context.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.