GHSA-qpq9-hwx9-cwgc
Duplicate Advisory: PraisonAI: API deploy code generator embeds unescaped YAML fields into Python source
Impact
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-79fv-7hq9-w7xg. This link is maintained to preserve external references. ### Original Description PraisonAI before 4.6.78 fails to safely encode deployment configuration values when generating Python source code for API servers. Attackers can inject arbitrary Python expressions through the deploy.api.host and agents_file configuration parameters that execute when the generated server starts or handles requests.
An attacker can exploit this with local access to the system, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | praisonai | <= 4.6.77 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-qpq9-hwx9-cwgc
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-79fv-7hq9-w7xg
- https://nvd.nist.gov/vuln/detail/CVE-2026-61433
- https://github.com/MervinPraison/PraisonAI/commit/1620b49f36945d8cc8ee5635b906c960df5097a0
- https://www.vulncheck.com/advisories/praisonai-before-code-injection-via-api-deployment-generator