CVE-2026-61437
published high CVSS 4.0 · 8.5PraisonAI before 1.6.78 Remote Code Execution via tools.py
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MervinPraison | — | PraisonAI0 to < 1.6.78 (affected · semver) · 1.6.78 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
PraisonAI (pip package praisonaiagents) before 1.6.78 contains an unsafe dynamic module loading vulnerability in AgentFlow._resolve_pydantic_class (src/praisonai-agents/praisonaiagents/workflows/workflows.py). When a workflow step uses a string output_pydantic reference, the framework locates and imports a sibling tools.py from the workflow file's directory via importlib exec_module without sandboxing, ignoring the PRAISONAI_ALLOW_*_TOOLS environment variables. An attacker who controls a workflow file and its sibling tools.py can execute arbitrary Python code with the workflow runner's privileges when the workflow is executed via WorkflowManager or after load_yaml.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MervinPraison | PraisonAI | 0 to < 1.6.78 (affected · semver)1.6.78 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-693 Protection Mechanism Failure
References
2- GitHub Security Advisory (GHSA-4gfv-wg42-7jw5) https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-4gfv-wg42-7jw5
- VulnCheck Advisory: PraisonAI before 1.6.78 Remote Code Execution via tools.py https://www.vulncheck.com/advisories/praisonai-before-remote-code-execution-via-tools-py
Provider assertions
2VulnCheck · cna
PraisonAI before 1.6.78 Remote Code Execution via tools.py
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- de503d7f98cafa6917f75b250c9573125ea0edbcdb339ee60c22dad8b4dbc4a9
- Ingested
- 23 Sep 2026, 09:24:40 UTC
- Source record
- Official CVE record