CVE-2026-125386
Received Received - Intake

Insecure Direct Object Reference in langchain4j-aideepin

Vulnerability report for CVE-2026-125386, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-10

Last updated on: 2026-11-10

Assigner: VulnCheck

Description

langchain4j-aideepin through 3.32.0 contains an insecure direct object reference vulnerability in CharacterMessageController that allows authenticated users to access other users' message references due to missing owner checks. Attackers can supply another user's message uuid to the knowledge-embedding-ref, memory-embedding-ref, or graph-ref endpoints to retrieve knowledge-base chunks, long-term memory text, and knowledge-graph data.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-10
Last Modified
2026-11-10
Generated
2026-11-10
AI Q&A
2026-11-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
moyangzhan langchain4j-aideepin From 0 (inc) to 3.32.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an Insecure Direct Object Reference (IDOR) in langchain4j-aideepin through version 3.32.0. It allows authenticated users to access other users' message references without proper authorization checks. By supplying another user's message UUID to specific endpoints like knowledge-embedding-ref, memory-embedding-ref, or graph-ref, attackers can retrieve sensitive data such as knowledge-base chunks, long-term memory text, and knowledge-graph information.

Detection Guidance

To detect this vulnerability, monitor network traffic for unauthorized access to endpoints like /character/message/knowledge-embedding-ref/{uuid}, /character/message/memory-embedding-ref/{msgUuid}, or /character/message/graph-ref/{uuid}. Check application logs for repeated requests with different UUIDs from the same user. Inspect SQL queries for missing user_id conditions in joins involving adi_character_message_ref_memory_embedding or similar tables.

Impact Analysis

If you use langchain4j-aideepin, an attacker with access to your system could exploit this flaw to access private data belonging to other users. This includes sensitive information stored in knowledge bases, long-term memory, or knowledge graphs. The impact depends on the data stored in the system, but could lead to unauthorized data exposure or privacy breaches.

Compliance Impact

This vulnerability could lead to non-compliance with data protection regulations like GDPR and HIPAA. Unauthorized access to personal or sensitive data violates principles of data minimization, purpose limitation, and security. Organizations using affected versions may face legal penalties, reputational damage, and loss of customer trust.

Mitigation Strategies

Apply the official patch from commit 483499b to enforce owner checks in SQL queries and services. Ensure all endpoints include user_id conditions in their queries. Update to the latest version of langchain4j-aideepin if available. Review and restrict access to the vulnerable endpoints until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-125386. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...