# CVE-2026-85689: llmware 0.4.6 SQL Injection via unescaped filter values

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-09-04T14:32:33.799Z
- Modified: 2026-09-23T17:17:46.660Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- llmware-ai llmware: up to 0.4.6

## Every score

- VulnCheck: CVSS:4.0 7.1 High `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`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/llmware-ai/llmware/issues/1304> (issue-tracking)
- <https://github.com/llmware-ai/llmware> (product)
- <https://github.com/llmware-ai/llmware/blob/v0.4.6/llmware/resources.py> (technical-description)
- <https://www.vulncheck.com/advisories/llmware-0.4.6-sql-injection-via-unescaped-filter-values> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-85689](https://www.cve.org/CVERecord?id=CVE-2026-85689), CVE Terms of Use, modified 2026-09-08
- NVD: [CVE-2026-85689](https://nvd.nist.gov/vuln/detail/CVE-2026-85689), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-85689 · Whole record: https://cve.day/CVE-2026-85689.json · Rebuilt by cve.day 2026-11-25T22:59:36.302Z
