Skip to main content

Langchain4J Mariadb

1 CVEs product

Monthly

CVE-2026-145153 Dec 04, 16:09 CRITICAL PATCH Act Now

SQL and query-operator injection in LangChain4j embedding store metadata filters lets an attacker who can influence loosely typed filter values read other tenants' documents through search, or wipe entire collections through removeAll(Filter). The flaw affects langchain4j-pgvector, langchain4j-mariadb, langchain4j-milvus and langchain4j-milvus-v2, langchain4j-mongodb-atlas and langchain4j-chroma before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29 and 1.23.0-beta33, and exploitation is unauthenticated but conditional: the application must pass untrusted nested Lists, Maps, JsonNodes or other non-String objects from request JSON or LLM tool output into the object-accepting filter APIs. The vulnerable path is narrower than the 9.2 score suggests, since filters built only from String, number, UUID or Boolean values (or by LanguageModelSqlFilterBuilder) are not injectable - except on langchain4j-pgvector before 1.11.0, where even plain String values in isIn/isNotIn are unescaped. No public exploit code or CISA KEV entry was identified at time of analysis, but the vendor advisory, committed fixes and an act_now priority label make this a genuine high-priority issue rather than an inflated CVSS number.

SQLi Langchain4J Pgvector Langchain4J Mariadb Langchain4J Milvus Langchain4J Mongodb Atlas +2
NVD GitHub
CVSS 4.0
9.2
EPSS
0.8%
EPSS 1% CVSS 9.2
CRITICAL PATCH Act Now

SQL and query-operator injection in LangChain4j embedding store metadata filters lets an attacker who can influence loosely typed filter values read other tenants' documents through search, or wipe entire collections through removeAll(Filter). The flaw affects langchain4j-pgvector, langchain4j-mariadb, langchain4j-milvus and langchain4j-milvus-v2, langchain4j-mongodb-atlas and langchain4j-chroma before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29 and 1.23.0-beta33, and exploitation is unauthenticated but conditional: the application must pass untrusted nested Lists, Maps, JsonNodes or other non-String objects from request JSON or LLM tool output into the object-accepting filter APIs. The vulnerable path is narrower than the 9.2 score suggests, since filters built only from String, number, UUID or Boolean values (or by LanguageModelSqlFilterBuilder) are not injectable - except on langchain4j-pgvector before 1.11.0, where even plain String values in isIn/isNotIn are unescaped. No public exploit code or CISA KEV entry was identified at time of analysis, but the vendor advisory, committed fixes and an act_now priority label make this a genuine high-priority issue rather than an inflated CVSS number.

SQLi Langchain4J Pgvector Langchain4J Mariadb +4
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy