Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach PraisonAI collection-creation input
-
DeliverySupply malicious dimension value
-
ExploitInject SQL/CQL into CREATE TABLE DDL
-
ExecutionDatabase driver executes injected statement
-
ImpactDrop or exfiltrate other tenant tables
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the attacker can control the dimension argument supplied to the PGVector or Cassandra create_collection() knowledge-store backend on a PraisonAI instance before 4.6.78 - i.e., an application must route untrusted input into the collection-creation dimension parameter. The specific sink is the vector column dimension in the generated CREATE TABLE DDL; the identifier fields (schema, keyspace, collection name) are already validated and are NOT injectable. Limiting factors: only the PGVector and Cassandra backends are affected (not other memory stores); the target must actually invoke collection creation with attacker-influenced dimensions, and in deployments where knowledge-store setup is performed only by trusted operators the vector is not remotely reachable despite the CVSS PR:N rating. Impact severity is further bounded by the database role's privileges - a least-privilege role prevents dropping unrelated tables. |
| Impact | The vendor CVSS 4.0 base score is 9.3 (Critical) with vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, implying full compromise of confidentiality, integrity and availability of the database with no authentication or user interaction. The real-world picture is more nuanced: exploitation requires a 'caller able to influence collection-creation dimensions,' meaning the injection is only reachable if an application built on PraisonAI exposes the dimension argument to untrusted input - in many deployments knowledge-store creation is an operator/developer-side operation, which would argue for PR:L rather than PR:N. This tension between the PR:N vector and the description's 'caller able to influence' language should be verified against the specific deployment. No EPSS score, SSVC decision, KEV listing, or POC was provided, so there is no evidence of active or automatable exploitation; the signal set is limited to a high CVSS and CWE-89 root cause plus a credible VulnCheck report. Net assessment: a genuinely high-impact code-level flaw that is a clear patch priority for anyone embedding PraisonAI's PGVector/Cassandra memory in a multi-tenant or user-facing service, but the raw 9.3 likely overstates unauthenticated remote risk for typical operator-driven deployments. |
| Exploit ScenarioDerived | An application built on PraisonAI lets tenants configure a vector knowledge base and passes their supplied embedding 'dimension' into create_collection(). An attacker submits a dimension value of '3); DROP TABLE tenant_secrets; --', which is interpolated into the CREATE TABLE DDL and executed by the PostgreSQL/Cassandra driver, dropping or reading other tenants' tables. No public POC was provided, but the low attack complexity (AC:L) and the concrete payload in the advisory make weaponization straightforward for anyone who can reach the dimension parameter. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 11, 2026
SQL/CQL injection in PraisonAI's PGVector and Cassandra knowledge-store backends before 4.6.78 allows a caller who controls the create_collection() dimension argument to inject arbitrary database tokens. Although the code validates schema, keyspace, and collection-name identifiers, the dimension value - typed as int but never enforced at runtime - is string-interpolated directly into the vector column of the generated CREATE TABLE DDL, so a payload like '3); DROP TABLE tenant_secrets; --' executes against the backing database. No public exploit identified at time of analysis; the flaw was reported by VulnCheck and a vendor patch is available.
RemediationAI
Vendor-released patch: upgrade PraisonAI to version 4.6.78 or later, which is the primary and recommended fix (patch commit https://github.com/MervinPraison/PraisonAI/commit/3aa9cbc2bd49c23a32be0a89a5e620d13d843eab; advisory https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-wf65-4jjx-q444). If you cannot upgrade immediately, ensure the dimension argument passed to create_collection() is never derived from untrusted input: enforce strict server-side validation by casting/coercing the value to a bounded positive integer (e.g. reject anything that is not int() within an expected range) before it reaches the DDL, which closes the injection at the call site with negligible functional side effects. Additionally, run the PGVector/Cassandra backend under a least-privilege database role that lacks DROP/DDL rights on unrelated tables so an injected statement cannot destroy tenant data - the trade-off is that legitimate collection creation must be performed under a separate privileged migration path. Avoid exposing knowledge-store collection creation directly to end users.
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
PraisonAI is a Python multi-agent / agentic-AI orchestration framework that ships pluggable knowledge-store (vector memory) backends. The vulnerable code paths are the create_collection() implementations for the PGVector (PostgreSQL + pgvector extension) and Cassandra/CQL backends, which build a CREATE TABLE statement declaring a vector-typed column whose dimensionality is set from the caller-supplied dimension parameter. This is a textbook CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) instance caused by trusting a language-level type hint (int) instead of enforcing/parameterizing the value at runtime - because DDL column definitions and vector dimensions cannot be bound as ordinary query parameters, the developer fell back to string interpolation and validated only the identifier fields, leaving the numeric-looking dimension as an unfiltered injection sink. The affected component is cpe:2.3:a:mervinpraison:praisonai across all versions prior to 4.6.78.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SQL/CQL injection yields full DB read/write/destroy (C/I/A:H); PR:L because a caller must be able to invoke create_collection with a controllable dimension rather than fully anonymous access.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
PraisonAI before 4.6.78 fails to validate the caller-controlled dimension argument in the PGVector and Cassandra knowledge-store create_collection() backends. Although schema, keyspace, and collection-name identifiers are validated, the dimension value (declared as int but not enforced at runtime) is interpolated directly into the vector column of the generated CREATE TABLE DDL. A caller able to influence collection-creation dimensions can pass a string such as '3); DROP TABLE tenant_secrets; --' to inject SQL/CQL tokens into the statement executed by the database driver.
Executive ViewAI
PraisonAI versions before 4.6.78 contain a critical SQL/CQL injection vulnerability in their knowledge-store backend that could allow unauthorized database command execution, including data modification or deletion. Organizations using vulnerable versions risk exposure of sensitive data and service disruption; the threat is particularly acute if collection creation is accessible from untrusted network boundaries. Vendor patch is available and deployment should be prioritized immediately.
Apply vendor patch.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Remote code execution in PraisonAI before 1.6.78 allows attackers to run arbitrary Python on the host by manipulating th
PraisonAI's TypeScript MCP server (npm package `praisonai`, versions 1.5.0 through 1.7.1) exposes an HTTP JSON-RPC trans
Unauthenticated authentication bypass in praisonai-platform prior to 0.1.6 (and PraisonAI before 4.6.51) allows a remote
WebSocket origin-validation bypass in PraisonAI's Browser Server (praisonai/browser/server.py) before 4.6.58 lets an att
Unauthenticated agent access in PraisonAI before 1.7.3 lets remote attackers read agent instructions and system prompts
PraisonAI's `praisonai serve` subsystem (agents and unified modes) accepts an `--api-key` CLI flag that is parsed but ne
System prompt extraction and unauthorized tool invocation in PraisonAI before 4.6.78 arise because the prompt-injection
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
Server-side request forgery in PraisonAI's Crawl4AI/Chromium crawling backend (all versions before 1.6.78) lets low-priv
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
EUVD-2026-43175
GHSA-q65p-7p84-495c
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB