{"id":10876,"date":"2026-12-04T19:14:03","date_gmt":"2026-12-04T19:14:03","guid":{"rendered":"https:\/\/i10xnews.kinsta.cloud\/?p=10876"},"modified":"2026-12-04T19:14:03","modified_gmt":"2026-12-04T19:14:03","slug":"langchain4j-vulnerability-metadata-filter-injection-rag-tenants","status":"publish","type":"post","link":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants","title":{"rendered":"LangChain4j vulnerability lets attackers read other tenants&#8217; RAG documents"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">LangChain4j, a popular open source Java library for building LLM and RAG applications (about 13,500 stars on GitHub), had a query injection flaw in the metadata filters of five of its vector store integrations. In a multi tenant app, an attacker who can shape a filter value could read documents that belong to other customers, or wipe the store. The project describes the issue in a <a href=\"https:\/\/github.com\/langchain4j\/langchain4j\/security\/advisories\/GHSA-6wgf-c23j-fj2v\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub security advisory (GHSA-6wgf-c23j-fj2v)<\/a> and fixed it in four release lines; NVD lists it as CVE-2026-145153 with a CVSS score of 8.1. The twist for AI apps: the hostile value does not have to come from a web form. It can come from the model itself, through tool output.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Which LangChain4j stores and versions are affected<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The bug sits in how the pgvector, MariaDB, Milvus (both modules), MongoDB Atlas and Chroma stores turned a metadata <code>Filter<\/code> into a database query. Values that were not plain strings were written into the query text with <code>toString()<\/code> and no escaping, and the MongoDB and Chroma stores wrote equality in a short form that let a map value act as a query operator. Both <code>search<\/code> (including pgvector hybrid search) and <code>removeAll(Filter)<\/code> are affected.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fixed builds, by release line:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>1.23.0-beta33<\/strong> (current line; this release also adds a value check in langchain4j-core)<\/li><li><strong>1.19.4-beta29<\/strong><\/li><li><strong>1.11.12-beta19<\/strong><\/li><li><strong>1.5.4-beta11<\/strong><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Newer builds such as 1.24.1-beta34 are already on <a href=\"https:\/\/repo1.maven.org\/maven2\/dev\/langchain4j\/langchain4j-pgvector\/maven-metadata.xml\" target=\"_blank\" rel=\"noreferrer noopener\">Maven Central<\/a>. Note one special case: on langchain4j-pgvector before 1.11.0, even plain string values in <code>isIn<\/code> and <code>isNotIn<\/code> were not escaped, so careful typing does not protect those versions. Upgrading is the only fix there.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">When a RAG app is actually exploitable<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Not every LangChain4j app is at risk. The flaw needs untrusted data that reaches a filter as a list, a map, a <code>JsonNode<\/code> or another object instead of a clean string or number. Two common patterns do exactly that:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Filters built from request JSON.<\/strong> An endpoint that takes <code>{\"category\": ...}<\/code> and passes the parsed value straight into <code>new IsEqualTo(...)<\/code> or <code>isIn(...)<\/code> lets the caller send a nested list or a map instead of a string.<\/li><li><strong>Filters built from LLM tool output.<\/strong> If the model picks filter values through a tool call and those arguments flow into the filter untyped, a prompt injection hidden in a retrieved document or a user message can steer the model into emitting an operator such as <code>{\"$ne\": \"x\"}<\/code>. That cancels the tenant condition the app added with <code>and(...)<\/code>. Prompt injection defenses still miss this kind of quiet task tampering, as an <a href=\"https:\/\/i10x.ai\/news\/amazon-prompt-injection-task-tampering-study\">Amazon study on injection defenses<\/a> showed.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Apps that build filters only from strings, numbers, UUIDs or booleans with the typed builder methods are not affected (apart from old pgvector), and neither are filters produced by <code>LanguageModelSqlFilterBuilder<\/code>, which only emits strings, longs and doubles. The CVSS vector rates attack complexity as high for that reason: the risk depends on how the app is written. When it applies, though, the result is the worst outcome for a shared vector store, cross tenant reads, the same class of harm as the <a href=\"https:\/\/i10x.ai\/news\/cloudflare-workers-ai-glm-5-3-kv-cache-cross-tenant-leak\">Cloudflare Workers AI leak that returned other tenants&#8217; data<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A checklist for Java teams using LangChain4j<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Find the version.<\/strong> Run <code>mvn dependency:tree | grep langchain4j<\/code> or <code>gradle dependencies | grep langchain4j<\/code> and compare the store modules against the fixed builds above.<\/li><li><strong>Search the code for filter construction.<\/strong> Look for <code>new IsEqualTo(<\/code>, <code>new IsIn(<\/code>, <code>isIn(<\/code> and <code>isNotIn(<\/code> and trace where each value comes from. Anything typed as <code>Object<\/code>, <code>Map<\/code>, <code>List<\/code> or <code>JsonNode<\/code> that originates from a request or a tool call is a candidate.<\/li><li><strong>Convert before you filter.<\/strong> Until you can upgrade, turn every value into a <code>String<\/code>, number, UUID or <code>Boolean<\/code> explicitly and reject anything else. The maintainers give the same advice.<\/li><li><strong>Treat removeAll(Filter) as dangerous.<\/strong> Never let a user or a model influence the filter of a delete call, and keep backups of embedding stores you cannot rebuild cheaply.<\/li><li><strong>Enforce tenancy below the filter.<\/strong> A separate collection, schema or database role per tenant (for pgvector, row level security) keeps one broken filter from exposing everyone.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">After the fix, pgvector and MariaDB pass filter values as JDBC parameters, Milvus accepts only supported value types, and MongoDB Atlas and Chroma write an explicit <code>$eq<\/code>. The extra value check in langchain4j-core 1.23.0 is left out of the backports because it can break existing code, so teams on older lines get the store fixes but not the central guard. More database injection flaws in AI tooling are on our <a href=\"https:\/\/i10x.ai\/news\/category\/ai-security\">AI Security tracker<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading nx-step\">One step further: the second LangChain4j filter injection in six months<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This is the second time this year that LangChain4j&#8217;s metadata filters let input rewrite a database query. On 17 June 2026 the project published <a href=\"https:\/\/github.com\/langchain4j\/langchain4j\/security\/advisories\/GHSA-2mfg-cc43-9pcj\" target=\"_blank\" rel=\"noreferrer noopener\">GHSA-2mfg-cc43-9pcj<\/a> (CVE-2026-55405): in the pgvector and MariaDB stores, filter <em>keys<\/em> were concatenated into SQL, and in MariaDB string values could escape with a trailing backslash. That fix addressed keys and one escaping gap. The new advisory, 170 days later by our count, covers the values that were not strings, plus the MongoDB Atlas, Chroma and Milvus stores. The underlying cause is the same: building query text by hand instead of using parameters. Only the 4 December fix moves pgvector and MariaDB to bound JDBC parameters.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The consequences reach beyond the developer who wrote the filter. In a SaaS product that keeps all customers in one vector store, the people exposed are the customers whose contracts, tickets or files were embedded, and who have no way to see which filter the vendor used. Operators face a second risk: an injected condition in <code>removeAll<\/code> can delete every row, and re-embedding a large corpus costs time and API spend. Still open: neither advisory reports exploitation in the wild, and it is unknown how many applications pass loosely typed values into filters.<\/p>\n\n\n\n<div class=\"nx-howchecked\"><p class=\"nx-howchecked__t\">How we checked<\/p><p class=\"nx-howchecked__d\">Checked on 4 December 2026, 19:20 CET.<\/p><ul class=\"nx-howchecked__l\"><li>Read the LangChain4j advisories GHSA-6wgf-c23j-fj2v (4 December 2026) and GHSA-2mfg-cc43-9pcj (17 June 2026) and the NVD record for CVE-2026-145153.<\/li><li>Checked the fixed and newer versions in the Maven Central metadata for langchain4j-pgvector on 4 December 2026.<\/li><li>The 170 day gap is our own calculation. The checklist commands are standard Maven and Gradle tooling, not from the advisory. We did not reproduce the injection ourselves.<\/li><\/ul><\/div>\n","protected":false},"excerpt":{"rendered":"<p>A metadata filter injection in five LangChain4j vector stores can let request JSON or LLM tool output read other tenants&#8217; documents or delete rows. Which versions fix it, when an app is exploitable and what Java teams should check.<\/p>\n","protected":false},"author":2,"featured_media":10875,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_meta-robots-noindex":"","paper_title":"","paper_url":"","pdf_url":"","doi":"","arxiv_id":"","authors":"","institutions":"","paper_date":"","venue":"","peer_reviewed":false,"code_url":"","data_url":"","funding_coi":"","figure_license":"","paper_license":"","replication":"","study_models":"","study_sample":"","nx_approved":"","iv_guest":"","iv_role":"","iv_company":"","iv_show":"","iv_episode_title":"","iv_episode_url":"","iv_published":"","iv_length":"","iv_video_id":"","iv_guest_bio":"","iv_guest_url":"","iv_related":"","iv_initials":"","iv_speaker":"","footnotes":"","_yoast_wpseo_primary_category":"65","_nx_sec_severity":"high","_nx_sec_affected":"LangChain4j embedding stores (pgvector, MariaDB, Milvus, MongoDB Atlas, Chroma)","_nx_sec_status":"patch-available","_nx_sec_kicker":"URGENT: LangChain4j filter values could rewrite vector store queries","_nx_sec_type":"data-leak","_nx_sec_vendor":"LangChain4j","_nx_sec_fixed":"1.23.0-beta33","_nx_sec_action":"Upgrade LangChain4j store modules, pass only String, number, UUID or Boolean values into metadata filters"},"categories":[65,22],"tags":[],"companies":[],"products":[],"class_list":["post-10876","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-security","category-coding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>LangChain4j vulnerability: filter injection in RAG stores<\/title>\n<meta name=\"description\" content=\"LangChain4j vulnerability: filter injection in pgvector, MariaDB, Milvus, MongoDB Atlas and Chroma stores. Fixed versions, risk and a checklist.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LangChain4j vulnerability: filter injection in RAG stores\" \/>\n<meta property=\"og:description\" content=\"LangChain4j vulnerability: filter injection in pgvector, MariaDB, Milvus, MongoDB Atlas and Chroma stores. Fixed versions, risk and a checklist.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants\" \/>\n<meta property=\"og:site_name\" content=\"i10X News\" \/>\n<meta property=\"article:published_time\" content=\"2026-12-04T19:14:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/12\/langchain4j-filter-injection-title.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1344\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Christopher Ort\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/10\/i10x-news-og-default-1200x630-1.png\" \/>\n<meta name=\"twitter:creator\" content=\"@i10x_ai\" \/>\n<meta name=\"twitter:site\" content=\"@i10x_ai\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christopher Ort\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"NewsArticle\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants\"},\"author\":{\"name\":\"Christopher Ort\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#\\\/schema\\\/person\\\/d410bb7ee72febefca2c9c369939219a\"},\"headline\":\"LangChain4j vulnerability lets attackers read other tenants&#8217; RAG documents\",\"datePublished\":\"2026-12-04T19:14:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants\"},\"wordCount\":1005,\"publisher\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/12\\\/langchain4j-filter-injection-title.webp\",\"articleSection\":[\"AI Security\",\"Coding\"],\"inLanguage\":\"en-US\",\"dateModified\":\"2026-12-04T19:14:03+00:00\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants\",\"url\":\"https:\\\/\\\/i10x.ai\\\/news\\\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants\",\"name\":\"LangChain4j vulnerability: filter injection in RAG stores\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/12\\\/langchain4j-filter-injection-title.webp\",\"datePublished\":\"2026-12-04T19:14:03+00:00\",\"description\":\"LangChain4j vulnerability: filter injection in pgvector, MariaDB, Milvus, MongoDB Atlas and Chroma stores. Fixed versions, risk and a checklist.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/i10x.ai\\\/news\\\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#primaryimage\",\"url\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/12\\\/langchain4j-filter-injection-title.webp\",\"contentUrl\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/12\\\/langchain4j-filter-injection-title.webp\",\"width\":1344,\"height\":768,\"caption\":\"Image: AI-generated, i10X\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/i10x.ai\\\/news\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LangChain4j vulnerability lets attackers read other tenants&#8217; RAG documents\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#website\",\"url\":\"https:\\\/\\\/i10x.ai\\\/news\",\"name\":\"i10X News\",\"description\":\"Stay updated with the latest news and announcements from i10X.\",\"publisher\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/i10x.ai\\\/news?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#organization\",\"name\":\"i10X\",\"url\":\"https:\\\/\\\/i10x.ai\\\/news\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i10xnews.kinsta.cloud\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/i10x-logo-180.png\",\"contentUrl\":\"https:\\\/\\\/i10xnews.kinsta.cloud\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/i10x-logo-180.png\",\"width\":180,\"height\":180,\"caption\":\"i10X\"},\"image\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/i10x_ai\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/i10x-ai\",\"https:\\\/\\\/instagram.com\\\/i10x.ai\",\"https:\\\/\\\/www.youtube.com\\\/@i10X_ai_official\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#\\\/schema\\\/person\\\/d410bb7ee72febefca2c9c369939219a\",\"name\":\"Christopher Ort\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/christopher-ort-192.webp\",\"url\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/christopher-ort-192.webp\",\"contentUrl\":\"https:\\\/\\\/i10x.ai\\\/news\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/christopher-ort-192.webp\",\"caption\":\"Christopher Ort\"},\"description\":\"Christopher Ort is the editor of i10X News at i10x.ai. He has worked hands-on with AI tools, models and agent workflows for years and leads i10X\u2019s coverage of AI launches, funding and research. He is the author of \u201cThe Style Penalty\u201d, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.\",\"url\":\"https:\\\/\\\/i10x.ai\\\/news\\\/author\\\/christopher-ort\",\"sameAs\":[\"https:\\\/\\\/i10x.ai\\\/blog\\\/author\\\/christopher-ort\"],\"worksFor\":{\"@id\":\"https:\\\/\\\/i10x.ai\\\/news\\\/#organization\"},\"alumniOf\":{\"@type\":\"EducationalOrganization\",\"name\":\"Friedrich-Alexander-Universit\u00e4t Erlangen-N\u00fcrnberg (FAU)\",\"url\":\"https:\\\/\\\/www.fau.eu\"},\"subjectOf\":[{\"@type\":\"CreativeWork\",\"url\":\"https:\\\/\\\/papers.ssrn.com\\\/abstract=7426699\",\"name\":\"The Style Penalty: How AI Resume-Writing Tools Shape Outcomes in Automated Hiring Screens\"},{\"@type\":\"CreativeWork\",\"url\":\"https:\\\/\\\/www.heise.de\\\/news\\\/KI-Chatbots-bewerten-KI-Lebenslaeufe-Claude-findet-sich-besser-als-GPT-11317531.html\",\"name\":\"KI-Chatbots bewerten KI-Lebensl\u00e4ufe: Claude findet sich besser als GPT\"},{\"@type\":\"CreativeWork\",\"url\":\"https:\\\/\\\/t3n.de\\\/news\\\/bewerbung-schreiben-ki-5-fehler-1747190\\\/\",\"name\":\"Bewerbung mit KI schreiben: Diese 5 Fehler solltet ihr laut Studien vermeiden\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"LangChain4j vulnerability: filter injection in RAG stores","description":"LangChain4j vulnerability: filter injection in pgvector, MariaDB, Milvus, MongoDB Atlas and Chroma stores. Fixed versions, risk and a checklist.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants","og_locale":"en_US","og_type":"article","og_title":"LangChain4j vulnerability: filter injection in RAG stores","og_description":"LangChain4j vulnerability: filter injection in pgvector, MariaDB, Milvus, MongoDB Atlas and Chroma stores. Fixed versions, risk and a checklist.","og_url":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants","og_site_name":"i10X News","article_published_time":"2026-12-04T19:14:03+00:00","og_image":[{"width":1344,"height":768,"url":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/12\/langchain4j-filter-injection-title.webp","type":"image\/webp"}],"author":"Christopher Ort","twitter_card":"summary_large_image","twitter_image":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/10\/i10x-news-og-default-1200x630-1.png","twitter_creator":"@i10x_ai","twitter_site":"@i10x_ai","twitter_misc":{"Written by":"Christopher Ort","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#article","isPartOf":{"@id":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants"},"author":{"name":"Christopher Ort","@id":"https:\/\/i10x.ai\/news\/#\/schema\/person\/d410bb7ee72febefca2c9c369939219a"},"headline":"LangChain4j vulnerability lets attackers read other tenants&#8217; RAG documents","datePublished":"2026-12-04T19:14:03+00:00","mainEntityOfPage":{"@id":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants"},"wordCount":1005,"publisher":{"@id":"https:\/\/i10x.ai\/news\/#organization"},"image":{"@id":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#primaryimage"},"thumbnailUrl":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/12\/langchain4j-filter-injection-title.webp","articleSection":["AI Security","Coding"],"inLanguage":"en-US","dateModified":"2026-12-04T19:14:03+00:00"},{"@type":"WebPage","@id":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants","url":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants","name":"LangChain4j vulnerability: filter injection in RAG stores","isPartOf":{"@id":"https:\/\/i10x.ai\/news\/#website"},"primaryImageOfPage":{"@id":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#primaryimage"},"image":{"@id":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#primaryimage"},"thumbnailUrl":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/12\/langchain4j-filter-injection-title.webp","datePublished":"2026-12-04T19:14:03+00:00","description":"LangChain4j vulnerability: filter injection in pgvector, MariaDB, Milvus, MongoDB Atlas and Chroma stores. Fixed versions, risk and a checklist.","breadcrumb":{"@id":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#primaryimage","url":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/12\/langchain4j-filter-injection-title.webp","contentUrl":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/12\/langchain4j-filter-injection-title.webp","width":1344,"height":768,"caption":"Image: AI-generated, i10X"},{"@type":"BreadcrumbList","@id":"https:\/\/i10x.ai\/news\/langchain4j-vulnerability-metadata-filter-injection-rag-tenants#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/i10x.ai\/news"},{"@type":"ListItem","position":2,"name":"LangChain4j vulnerability lets attackers read other tenants&#8217; RAG documents"}]},{"@type":"WebSite","@id":"https:\/\/i10x.ai\/news\/#website","url":"https:\/\/i10x.ai\/news","name":"i10X News","description":"Stay updated with the latest news and announcements from i10X.","publisher":{"@id":"https:\/\/i10x.ai\/news\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/i10x.ai\/news?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/i10x.ai\/news\/#organization","name":"i10X","url":"https:\/\/i10x.ai\/news\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i10x.ai\/news\/#\/schema\/logo\/image\/","url":"https:\/\/i10xnews.kinsta.cloud\/wp-content\/uploads\/2026\/10\/i10x-logo-180.png","contentUrl":"https:\/\/i10xnews.kinsta.cloud\/wp-content\/uploads\/2026\/10\/i10x-logo-180.png","width":180,"height":180,"caption":"i10X"},"image":{"@id":"https:\/\/i10x.ai\/news\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/i10x_ai","https:\/\/www.linkedin.com\/company\/i10x-ai","https:\/\/instagram.com\/i10x.ai","https:\/\/www.youtube.com\/@i10X_ai_official"]},{"@type":"Person","@id":"https:\/\/i10x.ai\/news\/#\/schema\/person\/d410bb7ee72febefca2c9c369939219a","name":"Christopher Ort","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/10\/christopher-ort-192.webp","url":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/10\/christopher-ort-192.webp","contentUrl":"https:\/\/i10x.ai\/news\/wp-content\/uploads\/2026\/10\/christopher-ort-192.webp","caption":"Christopher Ort"},"description":"Christopher Ort is the editor of i10X News at i10x.ai. He has worked hands-on with AI tools, models and agent workflows for years and leads i10X\u2019s coverage of AI launches, funding and research. He is the author of \u201cThe Style Penalty\u201d, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.","url":"https:\/\/i10x.ai\/news\/author\/christopher-ort","sameAs":["https:\/\/i10x.ai\/blog\/author\/christopher-ort"],"worksFor":{"@id":"https:\/\/i10x.ai\/news\/#organization"},"alumniOf":{"@type":"EducationalOrganization","name":"Friedrich-Alexander-Universit\u00e4t Erlangen-N\u00fcrnberg (FAU)","url":"https:\/\/www.fau.eu"},"subjectOf":[{"@type":"CreativeWork","url":"https:\/\/papers.ssrn.com\/abstract=7426699","name":"The Style Penalty: How AI Resume-Writing Tools Shape Outcomes in Automated Hiring Screens"},{"@type":"CreativeWork","url":"https:\/\/www.heise.de\/news\/KI-Chatbots-bewerten-KI-Lebenslaeufe-Claude-findet-sich-besser-als-GPT-11317531.html","name":"KI-Chatbots bewerten KI-Lebensl\u00e4ufe: Claude findet sich besser als GPT"},{"@type":"CreativeWork","url":"https:\/\/t3n.de\/news\/bewerbung-schreiben-ki-5-fehler-1747190\/","name":"Bewerbung mit KI schreiben: Diese 5 Fehler solltet ihr laut Studien vermeiden"}]}]}},"_links":{"self":[{"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/posts\/10876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/comments?post=10876"}],"version-history":[{"count":1,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/posts\/10876\/revisions"}],"predecessor-version":[{"id":10880,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/posts\/10876\/revisions\/10880"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/media\/10875"}],"wp:attachment":[{"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/media?parent=10876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/categories?post=10876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/tags?post=10876"},{"taxonomy":"company","embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/companies?post=10876"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/i10x.ai\/news\/wp-json\/wp\/v2\/products?post=10876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}