/

CVE-2026-123881

Severity:

HIGH RISK

(7.3)

Improper Access Control (CWE-284) in OpenBMB Message Handler

CVE-2026-123881

Deferred

Vulnerability type

Category:

Improper Access Control

CWE:

CWE-266, CWE-284

Impact:

Potential unauthorized access to chat records

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

OpenBMB Internet of Agents has an improper access control issue in the Message Handler's fetch_chat_record function. A remote caller who can reach the handler may be able to access chat records outside the intended authorization scope by manipulating comm_id; the required authentication conditions are not specified.

Affected context

The issue is reported in fetch_chat_record in im_server/app.py of the OpenBMB Internet of Agents Message Handler. It may affect deployments where requests reach this function and authorization checks do not correctly restrict access to the record identified by comm_id. The description does not specify whether authentication is required or which records may be exposed.

Exploit preconditions

  • Attack surface: Remote requests to the Message Handler
  • Required access: The caller must be able to reach the affected function; whether authentication is required is unspecified
  • Trigger point: Processing a request that supplies comm_id to fetch_chat_record
  • Why exploitation may be possible: Access decisions may not adequately verify that the caller is authorized to retrieve the record associated with the supplied identifier

Why this happens

The reported flaw is improper access control, mapped to CWE-284. The handler may rely on a caller-supplied record identifier without consistently enforcing authorization for the requested resource. CWE-266, also associated with this issue, concerns incorrect privilege assignment; the available description does not provide further details about its specific role here.

Potential impact

  • An attacker may access chat records they are not authorized to view
  • Private conversation data could be disclosed
  • Unauthorized access could undermine user privacy and trust

General mitigation guidance

Defensive patterns focus on enforcing authorization at the point of access, regardless of the identifier supplied by a caller.

  • Derive the permitted user or tenant scope from trusted identity and session context
  • Check resource-level authorization for every record retrieval
  • Avoid treating opaque or difficult-to-guess identifiers as authorization controls
  • Apply least privilege to service identities and data access
  • Use secure-by-default handlers that deny access when ownership or permission checks cannot be confirmed

How teams detect issues like this

Review the Message Handler's record-retrieval paths for authorization checks tied to the authenticated principal and requested resource. Static analysis and code review can look for caller-controlled identifiers used in database or storage queries without adjacent ownership or permission validation. Policy checks can require resource-level authorization for sensitive data access, while logs and monitoring can flag repeated denied requests or unusual access patterns.

Sources

SourceLink
github.comgithub.com/OpenBMB/IoA/issues/20
vuldb.comvuldb.com/cve/CVE-2026-123881
vuldb.comvuldb.com/submit/1033651
vuldb.comvuldb.com/vuln/432019
vuldb.comvuldb.com/vuln/432019/cti

Frequently asked

questions

The report describes the attack as remote. Exploitation depends on whether a request can reach the affected handler and on the deployment's access controls.

The available description does not specify authentication requirements. The key condition is the ability to reach fetch_chat_record; deployments should verify their own authentication and authorization boundaries.

Enforce resource-level authorization for each requested chat record using trusted caller identity, rather than relying on comm_id alone.

Apply consistent authorization checks across data-access paths, use least privilege, and test that callers cannot retrieve records outside their permitted scope.

Find out what's already
exploitable in your codebase.