CVE-2026-125386: langchain4j-aideepin IDOR lets users read others’ AI data

An insecure direct object reference vulnerability in langchain4j-aideepin through version 3.32.0 allows authenticated users to access other users' knowledge base chunks, long-term memory text, and knowledge graph data by supplying another user's message UUID.

Christopher Ort
By i10X News Desk · Reviewed by Christopher Ort · 2 min read
Share
A developer reviewing database query logs on a laptop screen in a dimly lit office, with sticky notes on the monitor frame
Image: AI-generated, i10X
On this page
  1. Quick Take
  2. In plain English
  3. What happened
  4. What you should do
  5. What it means
  6. Sources

An insecure direct object reference (IDOR) vulnerability in the langchain4j-aideepin AI application platform allowed authenticated users to read other users’ private AI conversation data through version 3.32.0.

i10X Quick Take

Quick Take

  1. What: CVE-2026-125386, an IDOR vulnerability in CharacterMessageController that exposes other users’ AI data
  2. Who is affected: Deployments of langchain4j-aideepin through version 3.32.0
  3. What to do: Upgrade to a version containing commit 483499b or later; no fixed version number is stated in the public sources
  4. Severity: Medium (CVSS 5.3 per NVD, CVSS 6.0 per VulnCheck)
  5. Status: Patch committed on November 9, 2026

In plain English

Langchain4j-aideepin is an open-source platform for building AI applications with chat, knowledge bases, and workflows. A security flaw let any logged-in user read another user’s private AI conversation data (knowledge base chunks, long-term memory notes, and knowledge graph information) if they knew that user’s message ID. The maintainer fixed the problem by adding owner checks to the database queries.

What you should do: If you run this platform, you should update to the latest code from GitHub. If you only use AI chat services as an end user, this does not affect you.

What happened

Researcher hieuPenguinnn reported the vulnerability in GitHub issue #118 on November 4, 2026. Three REST API endpoints in CharacterMessageController passed a message UUID directly to database queries without verifying that the requesting user owned the message:

  • GET /character/message/knowledge-embedding-ref/{uuid}
  • GET /character/message/memory-embedding-ref/{msgUuid}
  • GET /character/message/graph-ref/{uuid}

The underlying MyBatis mappers (CharacterMessageRefEmbeddingMapper.xml, CharacterMessageRefMemoryEmbeddingMapper.xml, and CharacterMessageRefGraphMapper.xml) joined tables on where b.uuid = #{uuid} with no user_id condition. An attacker who obtained another user’s message UUID could retrieve that user’s knowledge-base text, long-term memory metadata, and knowledge-graph vertices and edges.

The issue was a follow-up to a similar IDOR vulnerability (issue #116) that affected the character message list endpoint. That earlier flaw was fixed in pull request #117, which noted that other conversation endpoints required separate review.

What you should do

The maintainer committed a fix (483499b) on November 9, 2026, that adds a userId parameter to the three mapper methods and scopes the SQL queries to ThreadContext.getCurrentUserId(). The sources do not state a fixed version number. Administrators running langchain4j-aideepin should pull the latest code from the main branch or any release published after November 9, 2026.

The vulnerability requires an attacker to be authenticated and to know a victim’s message UUID, which is not sequential. No evidence of active exploitation is mentioned in the public sources.

What it means

Insecure direct object reference vulnerabilities remain common in AI application platforms that store per-user conversation history and retrieval-augmented generation (RAG) data. This incident underscores the need for consistent authorization checks at every API endpoint that accesses user-scoped resources, even when the resource identifier is a non-guessable UUID. The langchain4j-aideepin project fixed the flaw within five days of the report.

Sources

Christopher Ort

Christopher Ort

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’s coverage of AI launches, funding and research. He is the author of “The Style Penalty”, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.

Editor's picks

  1. Georgia Tech’s Academic AI Playbook: 20 Lessons From 67 Real Courses, Free to Reuse
  2. Arcfront’s $1B Run Rate: What the AI Data Startup Confirms and What It Doesn’t
  3. GPT-6.2 Astra Tops Blueprint-Bench 2, 70% Above May Leader GPT-5.5
  4. Deutsche Telekom Puts 100 Million Euros Into Mistral for Sovereign AI in Germany
  5. Inkling 2 Mini: Thinking Machines’ Looped Open Model Tops Qwen on Coding Tests