{"id":"GHSA-q65p-7p84-495c","title":"Duplicate Advisory: PraisonAI: PGVector and Cassandra knowledge stores interpolate vector dimensions into DDL","summary":"Duplicate Advisory: PraisonAI: PGVector and Cassandra knowledge stores interpolate vector dimensions into DDL","severity":"critical","cvss":9.8,"cwe":["CWE-89"],"vendor":"praisonai","product":"praisonai","ecosystem":"pip","affected":["praisonai <= 4.6.77"],"published":"2026-07-11","updated":"2026-10-08","sourceUpdated":"2026-10-08T17:16:57Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-q65p-7p84-495c","references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-wf65-4jjx-q444"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-60090"},{"url":"https://github.com/MervinPraison/PraisonAI/commit/3aa9cbc2bd49c23a32be0a89a5e620d13d843eab"},{"url":"https://www.vulncheck.com/advisories/praisonai-before-sql-cql-injection-via-vector-dimension"},{"url":"https://github.com/advisories/GHSA-q65p-7p84-495c"}],"tags":["ghsa","pip"],"ingestedAt":"2026-10-08T17:56:11.725Z","slug":"GHSA-q65p-7p84-495c","body":"## Overview\n\n### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-wf65-4jjx-q444. This link is maintained to preserve external references.\n\n### Original Description\nPraisonAI 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.\n\n## Affected packages\n\n- `praisonai <= 4.6.77`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":53.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}