CVE-2026-56834: PraisonAI dynamic-context artifact tools read arbitrary host files outside artifact storage

Published Oct 23, 2026
·
Updated

PraisonAI is a multi-agent teams system. From version 3.8.1 to before version 4.6.59, PraisonAI's Dynamic Context Discovery feature exposes artifact helper tools through ctx.gettools(). The implemented artifact tools do not enforce that the supplied artifactpath is an artifact created by the configured store or that it lives under the configured artifact base directory. Instead, artifacthead, artifacttail, artifactgrep, and artifactchunk wrap the caller-supplied path directly into an ArtifactRef and then read it from the host filesystem. As a result, any prompt/user/tool-caller that can influence those tool arguments can read files readable by the PraisonAI process, such as project .env files, cloud credentials, SSH keys, source files, or other local data. This issue has been patched in version 4.6.59.

Affected Software

1 affected component
pypi/praisonai>=3.8.1<4.6.59

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade PraisonAI to a version that resolves this vulnerability.

    Fixed in 4.6.59

Event History

Oct 23, 2026
CVE Published
via MITRE·11:56 AM
Data Sourced
via MITRE·11:56 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

PraisonAI versions 3.8.1 through before 4.6.59 are affected when Dynamic Context Discovery exposes artifact helper tools through ctx.get_tools(). The impact is limited to files that the PraisonAI process can read on the host.

2

What does an attacker need to exploit it?

An attacker needs a way to influence arguments passed to the artifact helper tools, such as through a prompt, user input, or another tool caller. No authentication or user interaction is required according to the supplied severity vector.

3

Which operations can be abused to read host files?

The affected helpers are artifact_head, artifact_tail, artifact_grep, and artifact_chunk. They accept a caller-supplied artifact_path and read it directly rather than validating that it belongs to the configured artifact store or base directory.

4

What should be done if an immediate upgrade is not possible?

Prevent untrusted prompts, users, and tool callers from controlling artifact helper arguments, and avoid exposing the Dynamic Context Discovery artifact tools through ctx.get_tools(). Run PraisonAI with the minimum filesystem permissions needed to reduce the scope of readable data.

5

How can I determine whether my instance is affected?

Check whether the installed PraisonAI version is at least 3.8.1 and earlier than 4.6.59, and whether Dynamic Context Discovery makes artifact tools available via ctx.get_tools(). Upgrade to version 4.6.59 or later to obtain the patch.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203