SecurityContext

CVE-2026-125386: langchain4j-aideepin - Insecure Direct Object Reference

  • Cve: CVE-2026-125386
  • Name: langchain4j-aideepin - Insecure Direct Object Reference
  • 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.
  • Impact: Authenticated attackers can retrieve other users' knowledge-base chunks, long-term memory text, and knowledge-graph data, leading to sensitive information disclosure.
  • Remediation: Update to the latest version of langchain4j-aideepin.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated and know another user's message UUID
  • Labels source: securitycontext
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00382
  • Epss percentile: 0.32668
  • Assignee: [email protected]
  • Published at: 2026-11-10T00:17:11Z
  • Age in days: 14
  • Modified at: 2026-11-13T15:17:38Z
  • References total: 6
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-125386
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-639Authorization Bypass Through User-Controlled Key

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/moyangzhan/langchain4j-aideepin
https://github.com/moyangzhan/langchain4j-aideepin/blob/v3.32.0/server/adi-common/src/main/resources/mapper/CharacterMessageRefMemoryEmbeddingMapper.xml#L4-L10
https://github.com/moyangzhan/langchain4j-aideepin/commit/483499b1a6b4a27d856f85d88c28ae6152660953
https://github.com/moyangzhan/langchain4j-aideepin/issues/118
https://www.vulncheck.com/advisories/langchain4j-aideepin-through-3.32.0-idor-via-character-message-reference-endpoints
https://hackmd.io/@hieuPenguinnn/cve-2026-121938-125386-langchain4j-aideepin-character-conversation-cross-user-idor

Projects

RepositoryLink kindsIndexedUrl
moyangzhan/langchain4j-aideepincommit, fix, issuesyes/v1/repositories/moyangzhan/langchain4j-aideepin

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts