CVE-2026-85689 llmware 0.4.6 SQL Injection via unescaped filter values
설명
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.
영향 받는 제품 제품 1개
-
llmware-ai
llmware
영향 받는 버전
- 0.4.6 이하
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 4건
- github.com https://github.com/llmware-ai/llmware (새 창)
- github.com https://github.com/llmware-ai/llmware/blob/v0.4.6/llmware/resources.py (새 창)
- github.com https://github.com/llmware-ai/llmware/issues/1304 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/llmware-0.4.6-sql-injection-via-unescaped-filter-values (새 창)