CVE Catalog

CVE-2026-61432

MediumCVSS 5.7
Published: Updated: Translated: NVD NIST

Summary

A path traversal vulnerability in PraisonAI (praisonaiagents) before version 1.6.78 in the FastContext feature. The FastContextAgent.execute_tool() function does not properly validate absolute paths or canonicalize relative paths, allowing reading, searching, and enumerating files outside the intended workspace directory.

Risk Assessment

An attacker can exploit this vulnerability to read sensitive system files or application data, and inject file contents into the model's tool context, potentially leading to information disclosure or further privilege escalation.

Recommendation

Immediately update PraisonAI to version 1.6.78 or later, which includes a fix for the path traversal vulnerability.

Other vulnerabilities in PraisonAI

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS