CVE-2026-4957 OpenBMB XAgent API Key function_handler.py FunctionHandler.handle_tool_call log file

Medium 5.1 Published Updated

Remote attackers can expose sensitive API keys in log files via the handle_tool_call function in OpenBMB XAgent.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-4957?

CVE-2026-4957 is a medium-severity vulnerability in OpenBMB XAgent, published on 27 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A flaw has been found in OpenBMB XAgent 1.0.0. The impacted element is the function FunctionHandler.handle_tool_call of the file XAgent/function_handler.py of the component API Key Handler. This manipulation of the argument api_key causes sensitive information in log files. The attack may be initiated remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-532, CWE-200

Which versions are affected by CVE-2026-4957?

It affects 1 product.

Products include Openbmb Xagent.

How do I fix CVE-2026-4957?

No fix has been published for CVE-2026-4957 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-4957 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4957 exists.

Sources

Also known as GHSA-hp6g-348q-ppq3.

Is CVE-2026-4957 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free