Quick answers
- Is CVE-2026-40113 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-40113 being exploited in the wild.
- How severe is CVE-2026-40113?
- High severity, with a CVSS score of 8.4, published 9 April 2026.
- Which products and versions are affected?
- praisonai (PyPI) ECOSYSTEM:introduced=0,fixed=4.5.128.
- Is there a fix for CVE-2026-40113?
- Yes. praisonai (PyPI): upgrade to 4.5.128 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-40113 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-40113?
- Check whether you run Praisonai or praisonai (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
- praisonai (PyPI): upgrade to 4.5.128 or later
pip install "praisonai>=4.5.128"
Technical details
The `deploy.py` script in PraisonAI performs improper neutralization of argument delimiters (CWE-88) when constructing commands for the `gcloud` CLI. Specifically, it interpolates `openai_model`, `openai_key`, and `openai_base` into a single comma-delimited string for the `--set-env-vars` flag. Because `gcloud` uses commas as internal delimiters for this flag, an attacker can include a comma in any of these values to inject additional `KEY=VALUE` pairs. This allows for environment variable injection or overriding existing variables like `OPENAI_API_KEY`. The vulnerability is exploitable if an attacker can modify local environment variables, `.env` files, or CI/CD secrets used during the deployment process. The issue is fixed in version 4.5.128 by using separate `--update-env-vars` flags for each variable.
Affected products
- MervinPraison PraisonAI < 4.5.128
Identifiers
- CVE-2026-40113
- GHSA-fvxx-ggmx-3cjg
- PYSEC-2026-2913
Timeline
- 2026-04-09: advisory: GitHub Advisory GHSA-fvxx-ggmx-3cjg published
- 2026-04-10: patched: Fix released in version 4.5.128