PatchSiren cyber security CVE debrief
CVE-2026-61433 MervinPraison CVE debrief
PraisonAI's API deployment generator embeds unescaped YAML fields into Python source, allowing for code injection. A malicious PraisonAI project can set the `deploy.api.host` value to a Python expression splice, which will be executed at startup when an operator runs the API deploy flow. Additionally, the generator embeds `agents_file` directly into generated route-handler expressions, providing a second route-time source injection site if the agent file path is attacker-controlled.
- Vendor
- MervinPraison
- Product
- praisonai
- CVSS
- HIGH 8.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-15
- Original CVE updated
- 2026-10-24
- Advisory published
- 2026-07-15
- Advisory updated
- 2026-10-24
Who should care
Operators and developers using PraisonAI should assess exposure and prioritize remediation due to the potential for code injection and execution. They should review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance, and plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
Why it matters
PraisonAI's API deployment generator is vulnerable to code injection due to the lack of safe literal encoding when copying `deploy.api.host` from `agents.yaml` into generated Python source. Operators and developers should assess exposure and prioritize remediation.
- Code injection can occur during API deployment, allowing for execution of arbitrary code.
- The vulnerability can be exploited by setting the `deploy.api.host` value to a Python expression splice.
- Remediation priority is high due to the potential for code injection and execution.
- Verification of user-supplied YAML input is necessary to prevent exploitation.
Technical summary
The PraisonAI API deployment generator copies `deploy.api.host` from `agents.yaml` directly into generated Python source without safe literal encoding, allowing for code injection. A malicious PraisonAI project can set the `deploy.api.host` value to a Python expression splice, which will be executed at startup when an operator runs the API deploy flow. The generator also embeds `agents_file` directly into generated route-handler expressions, providing a second route-time source injection site if the agent file path is attacker-controlled. Operators and developers should assess exposure and prioritize remediation due to the potential for code injection and execution.
Defensive priority
Operators and developers using PraisonAI should assess exposure and prioritize remediation due to the potential for code injection.
Recommended defensive actions
- Assess exposure and prioritize remediation for PraisonAI deployments
- Update to version 4.6.78 or later
- Review and validate user-supplied YAML input
- Implement safe literal encoding for YAML fields in generated Python source
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
Evidence notes
The vulnerability is caused by the lack of safe literal encoding when copying `deploy.api.host` from `agents.yaml` into generated Python source. This allows for code injection, which can be exploited by setting the `deploy.api.host` value to a Python expression splice.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-61433 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-61433
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-61433 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-61433
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
PraisonAI: API deploy code generator embeds unescaped YAML fields into Python source
Unverified legacy reference
URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-79fv-7hq9-w7xg.json
osv_dev
-
Source reference
Unverified legacy reference
URL: https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-79fv-7hq9-w7xg
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-62173
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/MervinPraison/PraisonAI/commit/1620b49f36945d8cc8ee5635b906c960df5097a0
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/MervinPraison/PraisonAI
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/praisonai-before-code-injection-via-api-deployment-generator
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.