Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious OpenAI configuration with embedded commas
-
Exploitdeploy.py interpolates unvalidated values into gcloud command
-
Executiongcloud parses injected KEY=VALUE pairs
-
Impactarbitrary environment variables deployed to Cloud Run service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Attacker requires local access with low-privilege user account on the system running PraisonAI versions prior to 4.5.128. The vulnerability is triggered when deploy.py constructs gcloud run deploy commands with unvalidated openai_model, openai_key, or openai_base parameters containing commas, injecting arbitrary environment variables into Cloud Run services. |
| Impact | CVSS 8.4 reflects high-impact confidentiality and integrity compromise via local, low-privilege authenticated access. Attack surface limited to users with deploy.py execution rights on development/CI systems. Environment variable injection enables credential theft and service manipulation. Priority depends on deployment model-critical for shared infrastructure, lower for isolated environments. |
| Exploit ScenarioDerived | Authenticated attacker with local system access embeds comma in openai_key value (e.g., 'sk-xxx,INJECTED_VAR=malicious'). deploy.py passes unsanitized string to gcloud run deploy --set-env-vars, causing gcloud parser to treat injected suffix as new environment variable. No public exploit code identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 09, 2026
Environment variable injection in PraisonAI deploy.py (versions prior to 4.5.128) allows authenticated local attackers to inject arbitrary environment variables into Google Cloud Run services during deployment. The vulnerability stems from improper validation of comma-separated gcloud CLI arguments, enabling attackers to manipulate openai_model, openai_key, or openai_base parameters with embedded commas, causing gcloud to parse injected content as additional KEY=VALUE pairs. This grants high-level access to confidential service configuration and permits unauthorized modifications. No public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to PraisonAI version 4.5.128 or later, which implements input validation for comma characters in gcloud deployment parameters. Until patched, restrict access to deploy.py execution to trusted administrators only, and implement pre-deployment validation to reject configuration values containing commas in openai_model, openai_key, or openai_base fields. Review existing Cloud Run service environment variables for unauthorized entries. Consult official security advisory for complete fix details: https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-fvxx-ggmx-3cjg
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Root cause is CWE-88 argument injection during gcloud run deploy command construction. The deploy.py script concatenates user-controlled openai_model, openai_key, and openai_base values into comma-delimited --set-env-vars string without input sanitization. Comma character acts as delimiter boundary, causing gcloud parser to interpret trailing text fragments as legitimate environment variable definitions in the Cloud Run deployment manifest.
Know when Praisonai gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
PraisonAI is a multi-agent teams system. Prior to 4.5.128, deploy.py constructs a single comma-delimited string for the gcloud run deploy --set-env-vars argument by directly interpolating openai_model, openai_key, and openai_base without validating that these values do not contain commas. gcloud uses a comma as the key-value pair separator for --set-env-vars. A comma in any of the three values causes gcloud to parse the trailing text as additional KEY=VALUE definitions, injecting arbitrary environment variables into the deployed Cloud Run service. This vulnerability is fixed in 4.5.128.
Executive ViewAI
PraisonAI versions before 4.5.128 contain an environment variable injection vulnerability in deployment scripts that allows authenticated users with local system access to inject malicious configuration into Google Cloud Run services, potentially exposing API keys and cloud credentials. Organizations using PraisonAI for cloud deployments face immediate risk of credential compromise and unauthorized service reconfiguration if their teams include untrusted or compromised local users.
Until vendor patch is available: (1) Restrict local system access and deployment script execution to trusted administrators only; (2) Implement environment variable validation and sanitization at the CI/CD pipeline level before gcloud invocation; (3) Use Cloud Run environment variable encryption and access controls to limit exposure; (4) Monitor Cloud Run service deployments and configuration changes for anomalies; (5) Require multi-factor authentication for all cloud credential access and rotation procedures.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
PraisonAI's TypeScript MCP server (npm package `praisonai`, versions 1.5.0 through 1.7.1) exposes an HTTP JSON-RPC trans
WebSocket origin-validation bypass in PraisonAI's Browser Server (praisonai/browser/server.py) before 4.6.58 lets an att
PraisonAI's `praisonai serve` subsystem (agents and unified modes) accepts an `--api-key` CLI flag that is parsed but ne
Unauthenticated remote agent invocation in PraisonAI versions 4.6.34 through 4.6.57 allows any network-reachable caller
SSRF protection bypass in PraisonAI's praisonaiagents library (all versions before 1.6.58) lets low-privileged users rou
Authentication fail-open in PraisonAI's Recipe HTTP server allows unauthenticated remote attackers to invoke recipe exec
Authentication bypass in PraisonAI's AgentServer component exposes all routes - /publish, /events, /info, /health - to u
Arbitrary Python code execution in PraisonAI's workflow include feature allows an attacker who controls a local recipe d
Server-side request forgery in PraisonAI's web_crawl() function (versions 1.5.128-1.6.57) allows an attacker who can inf
Cross-site request forgery against the PraisonAI MCP HTTP-stream transport allows unauthenticated remote attackers to ex
Remote unauthenticated access to PraisonAI's legacy Flask API server allows attackers to execute configured agent workfl
Path traversal in praisonaiagents prior to 1.6.58 allows a low-privileged caller to write arbitrary JSON files to any pr
EUVD-2026-21156
GHSA-fvxx-ggmx-3cjg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB