Langchain4J Milvus
Monthly
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.
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.