Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
llmware-ai llmware
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

llmware.ai llmware是llmware.ai组织的一款助力企业构建大语言模型应用的产品。 llmware.ai llmware 0.4.6及之前版本存在SQL注入漏洞,该漏洞源于collection-database层(llmware/resources.py)中过滤器和查找值在未进行参数化或转义的情况下直接字符串插值到SQL WHERE子句,过滤器验证器仅检查键而不清理值,可能导致攻击者通过Library.block_lookup和Query.text_query_with_custom_

CVSS 6.5 · Medium EPSS 0.25% · P17

Affected Version Matrix 1

VendorProduct Version RangeStatus
llmware-ai llmware ≤ 0.4.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-85689

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
llmware 0.4.6 SQL Injection via unescaped filter values
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
llmware.ai llmware SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
llmware.ai llmware是llmware.ai组织的一款助力企业构建大语言模型应用的产品。 llmware.ai llmware 0.4.6及之前版本存在SQL注入漏洞,该漏洞源于collection-database层(llmware/resources.py)中过滤器和查找值在未进行参数化或转义的情况下直接字符串插值到SQL WHERE子句,过滤器验证器仅检查键而不清理值,可能导致攻击者通过Library.block_lookup和Query.text_query_with_custom_
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
llmware-ai llmware 0 ~ 0.4.6 -

II. Public POCs for CVE-2026-85689

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-85689

登录查看更多情报信息。

Vendor Advisories for CVE-2026-85689 (1)

Other References for CVE-2026-85689 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-85689

No comments yet


Leave a comment