Description
langchain4j-aideepin before 3.31.0 contains an insecure direct object reference vulnerability that allows authenticated users to read other users' character-chat conversations by supplying their character uuid. Attackers can request GET /character/{uuid}, which CharacterService.detail resolves without an ownership check, to obtain victims' questions, AI answers, and attachment and audio URLs.
Severity (CVSS)
| Base score | 6 |
|---|---|
| Severity | Medium |
| Version | CVSS 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 |
| Provided by | CNA |
Weaknesses
- CWE-639 — Authorization Bypass Through User-Controlled Key
Affected products
| Vendor | Product | Versions |
|---|---|---|
| moyangzhan | langchain4j-aideepin | 0 to <3.31.0 [affected] |
References
- https://github.com/moyangzhan/langchain4j-aideepin/issues/116 (issue-tracking)
- https://hackmd.io/@hieuPenguinnn/langchain4j-aideepin-character-conversation-cross-user-idor (third-party-advisory)
- https://github.com/moyangzhan/langchain4j-aideepin/pull/117 (issue-tracking patch)
- https://github.com/moyangzhan/langchain4j-aideepin/commit/9b2fee6b66836a0efd5599cfcddd05b80b05ca93 (patch)
- https://github.com/moyangzhan/langchain4j-aideepin/blob/v3.30.0/server/adi-common/src/main/java/com/moyz/adi/common/service/CharacterService.java#L105-L125 (technical-description)
- https://www.vulncheck.com/advisories/langchain4j-aideepin-before-3.31.0-idor-via-get-character-uuid (third-party-advisory)
- https://hackmd.io/@hieuPenguinnn/cve-2026-121938-langchain4j-aideepin-character-conversation-cross-user-idor (exploit)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 05 Nov 2026 08:03 UTC.