CVE-2026-4957 OpenBMB XAgent API Key function_handler.py FunctionHandler.handle_tool_call log file
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.
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.
Other vulnerabilities in OpenBMB XAgent
- CVE-2026-4959 OpenBMB XAgent ShareServer WebSocket Endpoint share.py check_user missing authentication
- CVE-2024-2007 OpenBMB XAgent Privileged Mode sandbox
- CVE-2025-6281 OpenBMB XAgent community path traversal
- CVE-2026-4958 OpenBMB XAgent WebSocket Endpoint replayer.py ReplayServer.send_data authorization
Sources
Also known as GHSA-hp6g-348q-ppq3.