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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-639"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125386.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.32.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "483499b1a6b4a27d856f85d88c28ae6152660953"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125386.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "54536263623957407012333309863443435447",
"length": 470
},
"id": "CVE-2026-125386-01cc868e",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/moyangzhan/langchain4j-aideepin/commit/483499b1a6b4a27d856f85d88c28ae6152660953",
"target": {
"file": "server/adi-common/src/main/java/com/moyz/adi/common/service/CharacterMessageRefEmbeddingService.java",
"function": "listRefEmbeddings"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"72354913792015113028914604886863616778",
"104759870170159826269675335108633856001",
"66821477950424237844162301349153965873",
"326056730837293363586974768362431456158",
"310223975787564179403618494741903161173",
"176526765276679411493057831506162119061",
"209562689118044965159684116498563846438"
],
"threshold": 0.9
},
"id": "CVE-2026-125386-03cb1dac",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/moyangzhan/langchain4j-aideepin/commit/483499b1a6b4a27d856f85d88c28ae6152660953",
"target": {
"file": "server/adi-common/src/main/java/com/moyz/adi/common/service/CharacterMessageRefGraphService.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"83266242706114719433094837245772656271",
"211359140593862622675969763596715887935"
],
"threshold": 0.9
},
"id": "CVE-2026-125386-27e27193",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/moyangzhan/langchain4j-aideepin/commit/483499b1a6b4a27d856f85d88c28ae6152660953",
"target": {
"file": "server/adi-common/src/main/java/com/moyz/adi/common/mapper/CharacterMessageRefEmbeddingMapper.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"196864159027188600144642401569693433656",
"245037104953264009770013033674080520224"
],
"threshold": 0.9
},
"id": "CVE-2026-125386-8daa7e05",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/moyangzhan/langchain4j-aideepin/commit/483499b1a6b4a27d856f85d88c28ae6152660953",
"target": {
"file": "server/adi-common/src/main/java/com/moyz/adi/common/mapper/CharacterMessageRefMemoryEmbeddingMapper.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "20455458559117323791773648956589542305",
"length": 1576
},
"id": "CVE-2026-125386-90b4ef60",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/moyangzhan/langchain4j-aideepin/commit/483499b1a6b4a27d856f85d88c28ae6152660953",
"target": {
"file": "server/adi-common/src/main/java/com/moyz/adi/common/service/CharacterMessageRefMemoryEmbeddingService.java",
"function": "listRefEmbeddings"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"140262897583782705424998903492999171470",
"273812583560683689607505071558051107306",
"208438990847181748201482714229443668138",
"338360618592439903999133135290148662401",
"67375793498675885929021813644850753476",
"259942910076005495285028431633586278445"
],
"threshold": 0.9
},
"id": "CVE-2026-125386-9f1e52a6",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/moyangzhan/langchain4j-aideepin/commit/483499b1a6b4a27d856f85d88c28ae6152660953",
"target": {
"file": "server/adi-common/src/main/java/com/moyz/adi/common/service/CharacterMessageRefEmbeddingService.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"283779617730281254583130556664311012139",
"51664619954569067835863611749746805891"
],
"threshold": 0.9
},
"id": "CVE-2026-125386-a0bfe42a",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/moyangzhan/langchain4j-aideepin/commit/483499b1a6b4a27d856f85d88c28ae6152660953",
"target": {
"file": "server/adi-common/src/main/java/com/moyz/adi/common/mapper/CharacterMessageRefGraphMapper.java"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "24191333817191805694203119893477071635",
"length": 801
},
"id": "CVE-2026-125386-c3430a7e",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/moyangzhan/langchain4j-aideepin/commit/483499b1a6b4a27d856f85d88c28ae6152660953",
"target": {
"file": "server/adi-common/src/main/java/com/moyz/adi/common/service/CharacterMessageRefGraphService.java",
"function": "getByMsgUuid"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"266594947559642737177963676773993906040",
"229673522991434409399968593911541558936",
"55517907654881058010246092874721796189",
"205785621726113720364886223018275664637",
"244491213788265418344421447989736895859",
"18058158536989021321676537193941216301",
"94380877986231381088404890035071273927"
],
"threshold": 0.9
},
"id": "CVE-2026-125386-c8f5d94c",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/moyangzhan/langchain4j-aideepin/commit/483499b1a6b4a27d856f85d88c28ae6152660953",
"target": {
"file": "server/adi-common/src/main/java/com/moyz/adi/common/service/CharacterMessageRefMemoryEmbeddingService.java"
}
}
]
"2026-11-15T07:04:29Z"