{"id":"CVE-2026-125386","state":"PUBLISHED","title":"langchain4j-aideepin through 3.32.0 IDOR via /character/message reference endpoints","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.","publishedAt":"2026-11-09T23:27:53.127Z","updatedAt":"2026-11-09T23:27:53.127Z","severity":{"score":6,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["moyangzhan langchain4j-aideepin"],"affected":[{"vendor":"moyangzhan","product":"langchain4j-aideepin","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.32.0","versionType":"semver"}]}],"references":["https://github.com/moyangzhan/langchain4j-aideepin/issues/118","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://www.vulncheck.com/advisories/langchain4j-aideepin-through-3.32.0-idor-via-character-message-reference-endpoints"],"weaknesses":["CWE-639"],"ingestedAt":"2026-11-09T23:36:06.628Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/125xxx/CVE-2026-125386.json","commit":"b5e35fd13cceb3fc2d7ace24f43c95cd80e7dc5f","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-125386","state":"PUBLISHED","datePublished":"2026-11-09T23:27:53.127Z","dateUpdated":"2026-11-09T23:27:53.127Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-09T22:03:09.881Z"},"containers":{"cna":{"title":"langchain4j-aideepin through 3.32.0 IDOR via /character/message reference endpoints","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"moyangzhan","product":"langchain4j-aideepin","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.32.0","versionType":"semver"}]}],"references":[{"url":"https://github.com/moyangzhan/langchain4j-aideepin/issues/118","tags":["issue-tracking"],"name":"GitHub Issue #118"},{"url":"https://github.com/moyangzhan/langchain4j-aideepin","tags":["product"]},{"url":"https://github.com/moyangzhan/langchain4j-aideepin/blob/v3.32.0/server/adi-common/src/main/resources/mapper/CharacterMessageRefMemoryEmbeddingMapper.xml#L4-L10","tags":["technical-description"]},{"url":"https://github.com/moyangzhan/langchain4j-aideepin/commit/483499b1a6b4a27d856f85d88c28ae6152660953","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/langchain4j-aideepin-through-3.32.0-idor-via-character-message-reference-endpoints","name":"VulnCheck Advisory: langchain4j-aideepin through 3.32.0 IDOR via /character/message reference endpoints","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","lang":"en","description":"Authorization Bypass Through User-Controlled Key","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-09T23:27:53.127Z"},"datePublic":"2026-11-04T00:00:00.000Z","credits":[{"lang":"en","value":"hieuPenguinnn","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}