Quick answers
- Is CVE-2026-40117 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-40117 being exploited in the wild.
- How severe is CVE-2026-40117?
- Medium severity, with a CVSS score of 6.2, published 9 April 2026.
- Which products and versions are affected?
- praisonaiagents (PyPI) ECOSYSTEM:introduced=0,fixed=1.5.128.
- Is there a fix for CVE-2026-40117?
- Yes. praisonaiagents (PyPI): upgrade to 1.5.128 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-40117 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-40117?
- Check whether you run MervinPraison PraisonAI Agents, Praisonaiagents or praisonaiagents (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- praisonaiagents (PyPI): upgrade to 1.5.128 or later
pip install "praisonaiagents>=1.5.128"
Technical details
The `read_skill_file` function in `skill_tools.py` fails to validate that the `skill_path` parameter remains within the intended workspace directory. While it contains a check to prevent directory traversal within the provided path, the base path itself is unrestricted and can be set to absolute system directories (e.g., `/etc` or `/root/.ssh`). Additionally, unlike other dangerous tools in the suite, this function was not protected by the `@require_approval` decorator or included in the `DEFAULT_DANGEROUS_TOOLS` registry. An attacker leveraging prompt injection can trigger this tool to read and return sensitive files like `/etc/shadow` or environment variables containing API keys. The vulnerability is addressed in version 1.5.128.
Affected products
- MervinPraison praisonaiagents < 1.5.128
Identifiers
- CVE-2026-40117
- GHSA-grrg-5cg9-58pf
- PYSEC-2026-2949
Timeline
- 2026-04-09: disclosed
- 2026-04-10: advisory: GitHub Advisory GHSA-grrg-5cg9-58pf published
- 2026-04-10: patched: Version 1.5.128 released