CVE-2026-125386

Source
https://cve.org/CVERecord?id=CVE-2026-125386
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125386.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-125386
Published
2026-11-09T23:27:53Z
Modified
2026-11-15T07:04:29Z
Severity
  • 6.0 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
langchain4j-aideepin through 3.32.0 IDOR via /character/message reference endpoints
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-639"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125386.json"
}
References

Affected packages

Git / github.com/moyangzhan/langchain4j-aideepin

Affected ranges

Type
GIT
Repo
https://github.com/moyangzhan/langchain4j-aideepin
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "3.32.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "483499b1a6b4a27d856f85d88c28ae6152660953"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v1.*
v1.0.0
v2.*
v2.0.0
v2.0.1
v2.1.0
v2.2.0
v2.2.1
v2.3.0
v2.3.1
v2.4.0
v2.4.1
v2.5.0
v2.6.0
v2.6.1
v2.6.2
v2.6.3
v2.7.0
v2.8.0
v2.8.1
v2.9.0
v2.9.1
v3.*
v3.0.0
v3.1.0
v3.10.0
v3.10.1
v3.10.2
v3.11.0
v3.11.1
v3.12.0
v3.13.0
v3.14.0
v3.15.0
v3.16.0
v3.17.0
v3.19.0
v3.2.0
v3.20.0
v3.21.0
v3.22.0
v3.23.0
v3.24.0
v3.25.0
v3.25.1
v3.25.2
v3.26.0
v3.27.0
v3.28.0
v3.29.0
v3.3.0
v3.30.0
v3.31.0
v3.32.0
v3.4.0
v3.5.0
v3.5.1
v3.6.0
v3.7.0
v3.8.0
v3.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125386.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-11-15T07:04:29Z"