PatchSiren cyber security CVE debrief
CVE-2026-61444 MervinPraison CVE debrief
A critical vulnerability exists in PraisonAI's deploy API server generation, allowing for code injection via f-string interpolation. The `deploy/api.py` module directly interpolates the `agents_file` parameter into an f-string, which is then written to a file and executed. An attacker controlling the `agents_file` value can inject arbitrary Python code.
- Vendor
- MervinPraison
- Product
- praisonai
- CVSS
- CRITICAL 9.4
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-07
- Original CVE updated
- 2026-10-15
- Advisory published
- 2026-10-07
- Advisory updated
- 2026-10-15
Who should care
Defenders responsible for PraisonAI deployments, security teams, and developers using the PraisonAI package should assess exposure and apply remediation to prevent arbitrary code execution. This includes reviewing the deploy/api.py module for proper input validation and sanitization, verifying the PraisonAI package version, and implementing compensating controls for exposed systems.
Why it matters
A critical vulnerability exists in PraisonAI's deploy API server generation, allowing for code injection via f-string interpolation. Defenders should assess exposure and apply remediation to prevent arbitrary code execution.
- Code injection allows for arbitrary code execution
- High CVSS score of 9.4 indicates critical severity
- Lack of sanitization or validation of user input allows for exploitation
- Remediation requires upgrading to a fixed version (4.6.78 or later)
Technical summary
The `deploy/api.py` module generates Python server code by directly interpolating the `agents_file` parameter into an f-string that is then written to a file and executed via `subprocess.Popen()`. An attacker who controls the `agents_file` value can inject arbitrary Python code. This vulnerability allows for code injection and has a high CVSS score of 9.4, indicating critical severity. The lack of sanitization or validation of user input allows for exploitation, and remediation requires upgrading to a fixed version (4.6.78 or later).
Defensive priority
High priority for defenders to assess exposure and apply remediation, as this vulnerability allows for code injection and has a high CVSS score of 9.4.
Recommended defensive actions
- Assess exposure by checking if the PraisonAI package is used in the environment
- Verify the version of PraisonAI and upgrade to a fixed version (4.6.78 or later)
- Implement input validation and sanitization for the `agents_file` parameter
- Monitor for suspicious activity and implement compensating controls
- Review 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
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability is caused by the lack of sanitization or validation of the `agents_file` parameter, allowing for code injection. The generated code is executed via `subprocess.Popen()`. To verify, defenders should check the PraisonAI package version and review the deploy/api.py module for proper input validation and sanitization. The `agents_file` parameter is never sanitized or validated, allowing an attacker to inject arbitrary Python code.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-61444 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-61444
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-61444 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-61444
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
PraisonAI: Code Injection via f-string Interpolation in Deploy API Server Generation
Unverified legacy reference
URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-g6j7-pffp-8whg.json
osv_dev
-
Source reference
Unverified legacy reference
URL: https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/MervinPraison/PraisonAI
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.