Skip to content

fix: Fix vulerability by using query parameters instead of string formatting#217

Merged
dishaprakash merged 1 commit into
mainfrom
fix-vul
Jul 23, 2026
Merged

fix: Fix vulerability by using query parameters instead of string formatting#217
dishaprakash merged 1 commit into
mainfrom
fix-vul

Conversation

@dishaprakash

@dishaprakash dishaprakash commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

This PR patches critical SQL injection vulnerabilities within the vector store implementations. Previously, various methods constructed SQL statements using raw Python string interpolation. This PR restructures these queries to use proper parameterized execution bindings

Similar to googleapis/llama-index-alloydb-pg-python#233

@dishaprakash
dishaprakash requested review from a team as code owners July 21, 2026 14:21
@product-auto-label product-auto-label Bot added the api: cloudsql-postgres Issues related to the googleapis/llama-index-cloud-sql-pg-python API. label Jul 21, 2026
@dishaprakash
dishaprakash merged commit a06cc12 into main Jul 23, 2026
17 checks passed
@dishaprakash
dishaprakash deleted the fix-vul branch July 23, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: cloudsql-postgres Issues related to the googleapis/llama-index-cloud-sql-pg-python API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants