CVE-2026-57129 PraisonAI: Arbitrary File Read via `@file:` Mention Path Traversal
Attackers can read arbitrary files on the server by exploiting path traversal in file mention parsing, exposing sensitive data like credentials and configuration.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-57129?
CVE-2026-57129 is a high-severity path traversal vulnerability in MervinPraison praisonaiagents, published on 14 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.59, MentionsParser._process_file_mention accepts file-mention values and falls back from workspace-relative resolution to Path(file_path) without traversal, symlink, or workspace-boundary validation. Prompt input from users, bots, or workflows can therefore read arbitrary files accessible to the process, including credentials, keys, environment files, source code, and system configuration. This issue is fixed in praisonaiagents 1.6.59.
Weakness: CWE-22
Which versions are affected by CVE-2026-57129?
3 open source packages ship an affected version, including praisonaiagents.
| Package | Affected | Fixed in |
|---|---|---|
praisonaiagents PyPI | All versions | 1.6.59 |
praisonaiagents PyPI | All versions | 1.6.59 |
praisonaiagents PyPI | All versions | 1.6.59 |
How do I fix CVE-2026-57129?
Upgrade praisonaiagents to 1.6.59 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-57129 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57129 exists.
Sources
Also known as GHSA-2rcg-mm5h-xchx, PYSEC-2026-3527.