A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
llmware 0.4.6 contains an SQL injection vulnerability in the collection-database layer (llmware/resources.py) where filter and lookup values are directly string-interpolated into SQL WHERE clauses without parameterization or escaping, in both the SQLite and PostgreSQL backends. The filter validator only checks keys against an allow-list and never sanitizes values. Attacker-controlled filter values reaching the public API via Library.block_lookup and Query.text_query_with_custom_filter / text_query_by_author_or_speaker can neutralize the intended filter to disclose rows the caller was scoped out of (cross-document/cross-collection disclosure); on PostgreSQL the flaw permits boolean- and UNION-based SQL injection.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /llmware-ai/llmware
- github.com /llmware-ai/llmware/blob/v0.4.6/llmware/resources.py
- github.com /llmware-ai/llmware/issues/1304
- www.vulncheck.com /advisories/llmware-0.4.6-sql-injection-via-unescaped-filte…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning