Skip to main content
VulnerabilityPublished Updated

Duplicate Advisory: PraisonAI: PGVector and Cassandra knowledge stores interpolate vector dimensions into DDL

Affects praisonaiSource GCVE Database

0

CVSS 9.8 Critical.

Data as of 8 Oct 2026, 22:13 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What to do

Affected software

ProductAffectedFixed in
PyPIpraisonaiAffected
  • <=4.6.77
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, avoid passing untrusted input to the dimension parameter in create_collection() calls or implement strict input validation and sanitization on the dimension argument to ensure it is a valid integer.

Description

PraisonAI versions up to 4.6.77 contain a critical SQL injection vulnerability in the PGVector and Cassandra knowledge-store create_collection() backends. The vulnerability arises because the dimension argument, which should be an integer, is not validated at runtime and is directly interpolated into the CREATE TABLE DDL statement. This allows an attacker controlling the dimension parameter to inject arbitrary SQL or CQL commands, potentially leading to data compromise or destruction.

References

Community reviews

Loading reviews…