Skip to content
MediumVulnerability

CVE-2026-125386: langchain4j-aideepin insecure direct object reference in message endpoints

Identifier
CVE-2026-125386
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

langchain4j-aideepin through 3.32.0 contains an insecure direct object reference flaw in CharacterMessageController. Authenticated users can access other users' message references because owner checks are missing. Supplying another user's message uuid to the knowledge-embedding-ref, memory-embedding-ref, or graph-ref endpoints returns knowledge-base chunks, long-term memory text, and knowledge-graph data.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.