{"id":"CVE-2026-85689","aliases":["CVE-2026-85689"],"related":[],"kind":"vulnerability","state":"published","title":"llmware 0.4.6 SQL Injection via unescaped filter values","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-04T14:32:33.799Z","modified":"2026-09-23T17:17:46.660Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.4.6","status":"affected"}],"vendor":"llmware-ai","product":"llmware","source":"cvelist"}],"references":[{"url":"https://github.com/llmware-ai/llmware/issues/1304","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/llmware-ai/llmware","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/llmware-ai/llmware/blob/v0.4.6/llmware/resources.py","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/llmware-0.4.6-sql-injection-via-unescaped-filter-values","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["George Chen"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-08T17:10:16.228Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-85689","url":"https://www.cve.org/CVERecord?id=CVE-2026-85689","licence":"CVE Terms of Use","modified":"2026-09-08T17:10:27.342Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-85689","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85689","licence":"Public domain","modified":"2026-09-23T17:17:46.660Z"}],"updatedAt":"2026-11-25T22:59:36.302Z","epss":{"score":0.00253,"percentile":0.17943,"date":"2026-12-01T12:00:22.000Z"}}